diff options
author | Gordon Henriksen <gordonhenriksen@mac.com> | 2008-08-17 12:56:54 +0000 |
---|---|---|
committer | Gordon Henriksen <gordonhenriksen@mac.com> | 2008-08-17 12:56:54 +0000 |
commit | bcef14d2e4b2c92e767007a3f474985ba1a4754f (patch) | |
tree | 13759f0625e5bc14dcd2d4fbc0238066795e0b32 /llvm/lib/CodeGen/GCMetadataPrinter.cpp | |
parent | dbe06d3b69cab1ae6e708f5eca69cb0538a09842 (diff) | |
download | llvm-bcef14d2e4b2c92e767007a3f474985ba1a4754f.zip llvm-bcef14d2e4b2c92e767007a3f474985ba1a4754f.tar.gz llvm-bcef14d2e4b2c92e767007a3f474985ba1a4754f.tar.bz2 |
Factor GC metadata table assembly generation out of Collector in preparation for splitting AsmPrinter into its own library.
llvm-svn: 54881
Diffstat (limited to 'llvm/lib/CodeGen/GCMetadataPrinter.cpp')
-rw-r--r-- | llvm/lib/CodeGen/GCMetadataPrinter.cpp | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/GCMetadataPrinter.cpp b/llvm/lib/CodeGen/GCMetadataPrinter.cpp new file mode 100644 index 0000000..b16d873 --- /dev/null +++ b/llvm/lib/CodeGen/GCMetadataPrinter.cpp @@ -0,0 +1,31 @@ +//===-- Collector.cpp - Garbage collection infrastructure -----------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// +// +// This file implements target- and collector-independent garbage collection +// infrastructure. +// +//===----------------------------------------------------------------------===// + +#include "llvm/CodeGen/GCStrategy.h" + +using namespace llvm; + +GCMetadataPrinter::GCMetadataPrinter() { } + +GCMetadataPrinter::~GCMetadataPrinter() { } + +void GCMetadataPrinter::beginAssembly(std::ostream &OS, AsmPrinter &AP, + const TargetAsmInfo &TAI) { + // Default is no action. +} + +void GCMetadataPrinter::finishAssembly(std::ostream &OS, AsmPrinter &AP, + const TargetAsmInfo &TAI) { + // Default is no action. +} |