]> granicus.if.org Git - clang/commit
Split DWARF: Allow -gmlt/-gsplit-dwarf to override rather than complement each other
authorDavid Blaikie <dblaikie@gmail.com>
Thu, 30 Jul 2015 21:42:22 +0000 (21:42 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Thu, 30 Jul 2015 21:42:22 +0000 (21:42 +0000)
commitd50fd8aa0d9d35689ae70ed56f9245625d3456d2
tree2c1ab3dc4dfb49bf933df965d7408139b22b964c
parentb63b4d08e9fb203e82f6e67654f8fff2d7b91e25
Split DWARF: Allow -gmlt/-gsplit-dwarf to override rather than complement each other

It doesn't make any sense to enable -gmlt with -gsplit-dwarf, since
-gmlt is designed for on-line symbolication (and -gsplit-dwarf normally
emits all the -gmlt data into the .o anyway - so there's nothing to
split out except redundant/duplicate info).

With this change they override each other, -gmlt -gsplit-dwarf is the
same as -gsplit-dwarf and -gsplit-dwarf -gmlt is the same as -gmlt.

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