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

陳韋任 via llvm-dev llvm-dev at lists.llvm.org
Fri Nov 17 03:40:20 PST 2017


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>


More information about the llvm-dev mailing list