[PATCH] Treat -g1 as -gline-tables-only
hfinkel at anl.gov
hfinkel at anl.gov
Sun Oct 19 16:06:20 PDT 2014
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.
http://reviews.llvm.org/D5862
Files:
lib/Driver/Tools.cpp
test/Driver/debug-options.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5862.15131.patch
Type: text/x-patch
Size: 1256 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141019/1398abaf/attachment.bin>
More information about the cfe-commits
mailing list