[llvm-dev] Finding line numbers in source code associated with given bitcode instructions

Carter Cheng via llvm-dev llvm-dev at lists.llvm.org
Wed Nov 28 06:08:57 PST 2018


Hello,

Is it possible to somehow similar to how DWARF functions with assembly find
out which line numbers in unoptimized code are associated with which
bitcode instructions for the purpose of debugging compiler passes? I am
curious about whether this is possible prior to writing some
instrumentation passes for the purpose of debugging them.

Thanks in advance,

Carter.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20181128/5583d6be/attachment.html>


More information about the llvm-dev mailing list