[LLVMdev] Associate IR instruction with corresponding assembly

shruti padmanabha shrupad at umich.edu
Sat May 17 14:05:41 PDT 2014


Hi,

Is there a way to associate LLVM IR instructions with the instructions they
finally generate in the assembly file emitted by LLC? I need to track the
PC's corresponding to certain IR level instructions for ARM.
One way to do this is to tag an IR instruction with a special flag and pass
that flag onto the Machine IR created by LLC and then onto Machine Code. It
would be helpful if I could get some pointers on how to do this.

Thanks in advance,

Shruti Padmanabha
University of Michigan, Ann Arbor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140517/642e61d1/attachment.html>


More information about the llvm-dev mailing list