search for: visitgcroot

Displaying 1 result from an estimated 1 matches for "visitgcroot".

Did you mean: visitgcroots
2011 Apr 05
0
[LLVMdev] how to use the shadow-stack?
...c(i64) nounwind declare void @llvm.gcroot(i8**, i8*) nounwind I'm allocating a 10 element i64 array and then printing its third element using a library function printi. On the other hand, I have copied on the file gc.cpp the code given in the LLVM GC documentation defining a visitor function visitGCRoots for the shadow-stack plugin and finally I have on mylib.c the following: mylib.c #include <stdio.h> void __printi (long x) { printf ("%ld\n", x); } extern int mymain (void); int main (void) { return mymain (); } Now I'm trying to compile everything with > llc my.l...