]> granicus.if.org Git - clang/commit
Treat -g1 as -gline-tables-only
authorHal Finkel <hfinkel@anl.gov>
Tue, 21 Oct 2014 19:20:21 +0000 (19:20 +0000)
committerHal Finkel <hfinkel@anl.gov>
Tue, 21 Oct 2014 19:20:21 +0000 (19:20 +0000)
commit3f19c5ab9a9abc2f64ebcf6b2860455ce1c89487
tree585474e3b6623035ab2f80a08a0d4ff92d7abce6
parent67b346d12325e10d6a9d881239bf2e968e290de0
Treat -g1 as -gline-tables-only

-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.

For more information, see the discussion on
http://lists.cs.uiuc.edu/pipermail/cfe-dev/2014-October/039649.html

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@220311 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Tools.cpp
test/Driver/debug-options.c