Displaying 1 result from an estimated 1 matches for "path_to_my_library".
2012 Dec 10
1
[LLVMdev] issue writing llvm metadata
...e = MDNode::get(load->getContext(), temp);
> load->setMetadata("mydata",Node);
On running the pass with my input_file, I could not find the new metadata node in the .o file when i run llvm-dis with it . What am I missing ? Please help me out!
I run the pass as
opt -load path_to_my_library.so -pass_name < input_file.o > /dev/null
Should I do something different for a transform pass to work?
Thank you!
regards,
Ashwin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121210/0b39d919/at...