[LLVMdev] Adding metadata to constants from sizeof

Peter Conn conn.peter at gmail.com
Sat May 10 06:42:28 PDT 2014


Hello,

I'd like to add metadata to the constants generated from the sizeof keyword
so I can see them in ir (so i can see that the constant int 24 was
generated from 'sizeof(MyStruct)')

I've had a look through the codegen section of clang, but I can't find
anything promising. Where should I look?

Thanks, Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140510/ebd13624/attachment.html>


More information about the llvm-dev mailing list