Displaying 1 result from an estimated 1 matches for "varvar".
Did you mean:
varval
2013 Apr 29
0
[LLVMdev] multiple metadata fields
...s the metadata if already existent. As far as I understand, updates=replaces, not updates OR replaces. I add metadata using :
LLVMContext& C = instr->getContext();
MDNode* N = MDNode::get(C, MDString::get(C, "var"));
instr->setMetadata("varvar", N);
Thank you in advance !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130429/3a1bbfe3/attachment.html>