Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Dec 2015 15:41:10 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r291701 - head/contrib/llvm/tools/clang/tools/driver
Message-ID:  <201512031541.tB3FfAna042742@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512031541.tB3FfAna042742>