[cfe-dev] Debug information in C++14

David Blaikie dblaikie at gmail.com
Fri Dec 12 12:00:39 PST 2014


On Fri, Dec 12, 2014 at 11:54 AM, Marshall Clow <mclow.lists at gmail.com>
wrote:
>
>
> On Dec 12, 2014, at 8:25 AM, David Blaikie <dblaikie at gmail.com> wrote:
>
>
> On Dec 12, 2014 5:27 AM, "Gonzalo BG" <gonzalobg88 at gmail.com> wrote:
> >
> > Hi,
> >
> > Debug information (-g) is not required for C++14 compliance but I
> consider it a very important compiler feature nevertheless.
> >
> > Is there a plan to provide debug information for C++14 mode? If the
> answer is yes, could anyone provide a time estimate about when it will be
> supported?
> >
> > The bugzilla issue is from May 2013 and AFAIK it hasn't seen much
> progress (I still get the compiler "error: debug information for auto is
> not yet supported").
>
> I'm pretty sure I fixed that... Are you testing on top-of-tree?
>
>
> I was using debug information with C++14 on Wednesday. (on t-o-t)
>

The specific issue is auto return type specifications in a class - either a
class template, or a class with function defined out of line (so you have a
member function declaration with an auto return type that hasn't been
resolved). I'd half-assedly 'fixed' the crash for this over a year ago by
making it an error in debug info. I fixed it properly recently, if I recall
correctly.


>
> — Marshall
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20141212/085135f9/attachment.html>


More information about the cfe-dev mailing list