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

16
src/Accurate_GC/gc.cpp Normal file
View file

@ -0,0 +1,16 @@
/* // TODO: include these properly
#include "llvm/CodeGen/GCStrategy.h"
#include "llvm/CodeGen/GCMetadata.h"
#include "llvm/Support/Compiler.h"
using namespace llvm;
namespace {
class LLVM_LIBRARY_VISIBILITY GC : public GCStrategy {
public:
GC() {}
};
GCRegistry::Add<GC>
X("gc", "The bespoken garbage collector.");
} */