Started skeleton for accurate GC

This commit is contained in:
valtermiari 2023-03-21 13:11:58 +01:00
parent 75fb24e369
commit edeff09e86
4 changed files with 100 additions and 0 deletions

View 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.");
} */