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, _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"