[llvm-dev] IR to binary address mapping

Muhui Jiang via llvm-dev llvm-dev at lists.llvm.org
Tue Jun 12 07:30:21 PDT 2018


Hi

I know that LLVM provide some debug API for us to know the source code
information. For example, every IR instruction's source line number and
column number.

However, are there any method to get a mapping from IR instruction to
binary address directly. I don't want to use dwarf line mapping table as a
bridge. I think the binary is generated by clang and llvm. I think there
definitely is some information about the mapping relationship between LLVM
IR and the target binary address. Do anyone has suggestions? Many Thanks

Regards
Muhui
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180612/691588c8/attachment.html>


More information about the llvm-dev mailing list