[cfe-users] Debugging clang generated code with gdb

Kevin xtrmk3v0r at googlemail.com
Mon Jun 10 16:50:09 PDT 2013


> Clang produced binaries should be debuggable with GDB. All of clang, 
> gcc and gdb support the same debugging format, DWARF from dwarfstd.org 
> <http://dwarfstd.org>. Older GDBs may not work well with newer clangs.
>
> There is one substantial known-issue, clang's debug info is extremely 
> poor when optimizations are enabled. As for unoptimized debug info, if 
> you find problems please file bugs.
>
> Nick
>
Ok, thanks for the info. If I find bugs, I will report them.

Kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-users/attachments/20130611/01e5098c/attachment.html>


More information about the cfe-users mailing list