[LLVMdev] Associate IR instruction with corresponding assembly

shruti padmanabha
Sat, 17 May 2014 21:05:41 -0000

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>