Madhur Amilkanthwar via llvm-dev
2017-Nov-17 07:43 UTC
[llvm-dev] How does LLVM map source lines to machine instructions?
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>
陳韋任 via llvm-dev
2017-Nov-17 11:40 UTC
[llvm-dev] How does LLVM map source lines to machine instructions?
Guess you need this https://llvm.org/docs/SourceLevelDebugging.html HTH, chenwj 2017-11-17 15:43 GMT+08:00 Madhur Amilkanthwar via llvm-dev < llvm-dev at lists.llvm.org>:> 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 > > > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev > >-- Wei-Ren Chen (陳韋任) Homepage: https://people.cs.nctu.edu.tw/~chenwj -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20171117/48786925/attachment.html>