[PATCH] Treat -g1 as -gline-tables-only

David Blaikie dblaikie at gmail.com
Sun Oct 19 18:35:13 PDT 2014


On Sun, Oct 19, 2014 at 4:06 PM, hfinkel at anl.gov <hfinkel at anl.gov> wrote:

> Hi echristo, dblaikie,
>
> To follow-up on this thread on cfe-dev:
> http://lists.cs.uiuc.edu/pipermail/cfe-dev/2014-October/039649.html
>
> -g1 on gcc (and also IBM's xlc) are documented to be very similar to
> -gline-tables-only. Our -gline-tables-only might still be more verbose than
> -g1 on other compilers, but currently we treat -g1 as -g, and so we're
> producing much more debug info at -g1 than everybody else. Treating -g1 as
> -gline-tables-only brings us much closer to what everyone else is doing.
>

A follow-up: which user(s) did you have who hit problems with -g1? Do you
know what /they/ want when they specify -g1? It'd be useful to at least
have some actual user of -g1 with a documented use case so we know if we're
meeting their needs, etc.


>
> http://reviews.llvm.org/D5862
>
> Files:
>   lib/Driver/Tools.cpp
>   test/Driver/debug-options.c
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141019/8d35989d/attachment.html>


More information about the cfe-commits mailing list