[LLVMdev] More metadata questions
guyadini at gmail.com
Sun Nov 7 08:43:53 CST 2010
I hope I'm not too annoying with my newbie questions.
I've read the new (great!) wiki about the DI* classes, and I still can't
figure out how to insert metadata into the LLVM IR.
Let's say that I want to have two passes, one that creates some metadata
string and inserts it into the IR, and the second one that reads it and acts
according to what it finds (or doesn't find).
Are the DI* classes the right way to go?
Or should I use MDString, etc?
Either way, I've found lots of ways to define them, but not the right way to
actually get them to be where I want them in the IR.
Thanks a lot,
View this message in context: http://old.nabble.com/More-metadata-questions-tp30152346p30152346.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.
More information about the LLVMdev