[llvm-dev] How does LLVM map source lines to machine instructions?

Madhur Amilkanthwar via llvm-dev llvm-dev at lists.llvm.org
Thu Nov 16 23:43:58 PST 2017

Hi all,
How does the flow work in DWARF related LLVM code to map C source lines to
m/c instructions?

My understanding is that clang populates source line numbers to LLVM IR in
some sort of map and backend maps those lines generated m/c instructions
and thus establish the link.
Is that correct?

*Disclaimer: Views, concerns, thoughts, questions, ideas expressed in this
mail are of my own and my employer has no take in it. *
Thank You.
Madhur D. Amilkanthwar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20171117/483b233f/attachment.html>

More information about the llvm-dev mailing list