Started skeleton for accurate GC
This commit is contained in:
parent
75fb24e369
commit
edeff09e86
4 changed files with 100 additions and 0 deletions
16
src/Accurate_GC/gc_printer.cpp
Normal file
16
src/Accurate_GC/gc_printer.cpp
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
/* #include "llvm/CodeGen/GCMetadataPrinter.h"
|
||||
#include "llvm/Support/Compiler.h"
|
||||
|
||||
using namespace llvm;
|
||||
|
||||
namespace {
|
||||
class LLVM_LIBRARY_VISIBILITY GCPrinter : public GCMetadataPrinter {
|
||||
public:
|
||||
virtual void beginAssembly(AsmPrinter &AP);
|
||||
|
||||
virtual void finishAssembly(AsmPrinter &AP);
|
||||
};
|
||||
|
||||
GCMetadataPrinterRegistry::Add<MyGCPrinter>
|
||||
X("gc", "The bespoken garbage collector.");
|
||||
} */
|
||||
Loading…
Add table
Add a link
Reference in a new issue