Displaying 2 results from an estimated 2 matches for "usesmetadata".
2008 Aug 17
0
[LLVMdev] [!] Breaking changes to GC infrastructure
...public:
void beginAssembly(...) { ... }
void endAssembly(...) { ... }
};
2. Register your printer with GCMetadataPrinterRegistry.
GCMetadataPrinterRegistry::Add<BespokeGCPrinter>
X("bespoke", "my bespoke");
3. Set the new UsesMetadata flag in your Collector subclass'
constructor so that the AsmWriter will look for your assembly printer:
MyGC::MyGC() {
...
UsesMetadata = true;
}
In addition, I took the breaking change as an opportunity to rename
some classes so that their role will hopef...
2011 Oct 31
2
[LLVMdev] Adding a custom GC safe point creation phase
...bool CustomRoots; //< Default is to pass through to backend.
+ bool CustomSafePoints; //< Default is to use NeededSafePoints
+ // to find safe points.
bool InitRoots; //< If set, roots are nulled during
lowering.
bool UsesMetadata; //< If set, backend must emit metadata
tables.
@@ -87,7 +90,9 @@
/// needsSafePoitns - True if safe points of any kind are required. By
// default, none are recorded.
- bool needsSafePoints() const { return NeededSafePoints != 0; }
+ bool needsSafePo...