[LLVMdev] why is gc.root 8 bits?

Hayden Livingston halivingston at gmail.com
Tue Mar 31 00:13:48 PDT 2015


I'm trying to add gcoot functionality to my code and I'm confused by why
gcroot is assuming to be an i8**

I'm using i32 as object and array pointers and if I make them i8 things
seem to work.

I'm generating IR much like
http://llvm.org/docs/GarbageCollection.html#llvm-ir-features

void @llvm.gcroot(i8** %ptrloc, i8* %metadata)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150331/e56a0aa2/attachment.html>


More information about the llvm-dev mailing list