[LLVMdev] Do all the debug nodes in LLVM IR also compiles to DWARF?
David Blaikie
dblaikie at gmail.com
Thu Jun 18 12:02:10 PDT 2015
On Thu, Jun 18, 2015 at 11:19 AM, Riyad Parvez <riyad.parvez at uwaterloo.ca>
wrote:
> Hi
>
> As the title says, are all the debug nodes of LLVM IR avaialble in DWARF?
>
Yes (we haven't supported any other debug info formats - so anything in the
LLVM IR is there so we can produce DWARF)
> If I add a new custom MDNode in LLVM IR, can I expect the debug data will
> be available in DWARF in the binary if I compile in debug mode?
>
No - the DWARF generation from metadata is all special cased, not a generic
walk of nodes to DWARF.
>
> Thanks
> Riyad
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150618/825f9650/attachment.html>
More information about the llvm-dev
mailing list