[llvm-dev] Debug Locations for Optimized Code

Kostya Serebryany via llvm-dev llvm-dev at lists.llvm.org
Thu Dec 8 09:35:03 PST 2016


On Wed, Dec 7, 2016 at 5:49 PM, Robinson, Paul <paul.robinson at sony.com>
wrote:

>
>
> > -----Original Message-----
> > From: Evgenii Stepanov [mailto:eugeni.stepanov at gmail.com]
> > Sent: Wednesday, December 07, 2016 4:51 PM
> > To: Kostya Serebryany
> > Cc: Robinson, Paul; llvm-dev at lists.llvm.org
> > Subject: Re: [llvm-dev] Debug Locations for Optimized Code
> >
> > In fact, we are already using "parallel" debug info. Frame layout
> > descriptions encode line numbers for local variable declarations. They
> > don't include file names to keep object size under control, and we
> > can't really afford to add more duplicate debug info.
> >
> > On Wed, Dec 7, 2016 at 1:44 PM, Kostya Serebryany via llvm-dev
> > <llvm-dev at lists.llvm.org> wrote:
> > > my 2c.
> > >
> > > the sanitizers rely on debug info to produce human-readable error
> > messages,
>
> If the sanitizers already rely on the debug info line table, which
> already has a file table, why can't frame layout descriptions use
> that as well?
>

the frame layout descriptions contain names of the local variables, which
are not part of line tables.



> --paulr
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20161208/35f34047/attachment.html>


More information about the llvm-dev mailing list