[llvm-dev] Find instruction's offset

fami Hoseini via llvm-dev llvm-dev at lists.llvm.org
Mon Jan 9 14:07:05 PST 2017

Is there a way to get instruction's offset at compile time with llvm for
I am trying to create a map between instructions at compile time and this
run-time info. Since PC is a relative value, I am trying to use the
instruction's offset as a constant property of instruction to create this
map. I think offset information should be available to create the
executable, if so where to find it?
Thank you for your help,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170109/72e0dff5/attachment.html>

More information about the llvm-dev mailing list