]> granicus.if.org Git - clang/commit
Invoke the Darwin assembler with -g instead of --gdwarf2.
authorBob Wilson <bob.wilson@apple.com>
Wed, 2 Nov 2011 05:10:45 +0000 (05:10 +0000)
committerBob Wilson <bob.wilson@apple.com>
Wed, 2 Nov 2011 05:10:45 +0000 (05:10 +0000)
commit591ff15d4a7ae25ea7ac3f00f04f203d3ccec0b7
treec3b753cafbf16143b3e2cd6fff1fcdbcd2070ea3
parentd4e85faaf36c39a34a622e54370535854c52d9e9
Invoke the Darwin assembler with -g instead of --gdwarf2.

The -g and --gdwarf2 options are currently synonyms to the Darwin assembler.
But clang itself does not recognize --gdwarf2, so if we want to experiment
with using clang, with its integrated assembler, to replace the default
assembler, it is necessary to use -g.  <rdar://problem/10349486>

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