svn commit: r291701 - head/contrib/llvm/tools/clang/tools/driver
Dimitry Andric
dim at FreeBSD.org
Thu Dec 3 15:41:12 UTC 2015
Author: dim
Date: Thu Dec 3 15:41:10 2015
New Revision: 291701
URL: https://svnweb.freebsd.org/changeset/base/291701
Log:
In assembler mode, clang defaulted to DWARF3, if only -g was specified.
Change this to DWARF2, in the simplest way possible. (Upstream, this
was fixed in clang trunk r250173, but this was done along with a lot of
shuffling around of debug option handling, so it cannot be applied
as-is.)
Noticed by: des
MFC after: 3 days
Modified:
head/contrib/llvm/tools/clang/tools/driver/cc1as_main.cpp
Modified: head/contrib/llvm/tools/clang/tools/driver/cc1as_main.cpp
==============================================================================
--- head/contrib/llvm/tools/clang/tools/driver/cc1as_main.cpp Thu Dec 3 15:19:29 2015 (r291700)
+++ head/contrib/llvm/tools/clang/tools/driver/cc1as_main.cpp Thu Dec 3 15:41:10 2015 (r291701)
@@ -141,7 +141,7 @@ public:
RelaxAll = 0;
NoExecStack = 0;
FatalWarnings = 0;
- DwarfVersion = 3;
+ DwarfVersion = 2;
}
static bool CreateFromArgs(AssemblerInvocation &Res,
More information about the svn-src-head
mailing list