[cfe-dev] clang -g -fsanitize=address produces broken debug info?

Robinson, Paul Paul_Robinson at playstation.sony.com
Mon Aug 12 11:02:38 PDT 2013


Clang can produce .debug_aranges?  Somebody asked me about this recently, and I couldn't get clang to produce a non-empty section, unless I was compiling an assembler source.
--paulr

From: cfe-dev-bounces at cs.uiuc.edu [mailto:cfe-dev-bounces at cs.uiuc.edu] On Behalf Of David Blaikie
Sent: Monday, August 12, 2013 10:13 AM
To: Kal Conley
Cc: cfe-dev Developers
Subject: Re: [cfe-dev] clang -g -fsanitize=address produces broken debug info?


On Aug 12, 2013 9:55 AM, "Kal Conley" <kcconley at gmail.com<mailto:kcconley at gmail.com>> wrote:
>
> Hi,
> DWARF info produced with "clang -g -fsanitize=address" doesn't have a
> complete .debug_aranges section. LLDB relies on .debug_aranges if it is
> present, thus LLDB fails to load any debug info for clang binaries built
> with -fsanitize=address. The LLDB folks believe this is a clang bug. Can
> someone from the clang side look into this?

Can you describe in what way it is broken? Do you have a reduced test case?

> Thanks,
> -Kal
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu<mailto:cfe-dev at cs.uiuc.edu>
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130812/12ff88c9/attachment.html>


More information about the cfe-dev mailing list