svn commit: r304259 - projects/clang390-import/contrib/llvm/tools/clang/lib/Driver

Dimitry Andric dim at FreeBSD.org
Wed Aug 17 06:58:44 UTC 2016


Author: dim
Date: Wed Aug 17 06:58:43 2016
New Revision: 304259
URL: https://svnweb.freebsd.org/changeset/base/304259

Log:
  Remove one obsolete piece of code, that I originally imported from
  upstream clang r266775, but got moved around later in upstream r266797.

Modified:
  projects/clang390-import/contrib/llvm/tools/clang/lib/Driver/Tools.cpp

Modified: projects/clang390-import/contrib/llvm/tools/clang/lib/Driver/Tools.cpp
==============================================================================
--- projects/clang390-import/contrib/llvm/tools/clang/lib/Driver/Tools.cpp	Wed Aug 17 06:43:55 2016	(r304258)
+++ projects/clang390-import/contrib/llvm/tools/clang/lib/Driver/Tools.cpp	Wed Aug 17 06:58:43 2016	(r304259)
@@ -6616,12 +6616,6 @@ void ClangAs::ConstructJob(Compilation &
   // FIXME: Stop lying and consume only the appropriate driver flags
   Args.ClaimAllArgs(options::OPT_W_Group);
 
-  // Assemblers that want to know the dwarf version can't assume a value,
-  // since the defaulting logic resides in the driver. Put in something
-  // reasonable now, in case a subsequent "-Wa,-g" changes it.
-  RenderDebugEnablingArgs(Args, CmdArgs, CodeGenOptions::NoDebugInfo,
-                          getToolChain().GetDefaultDwarfVersion(),
-                          llvm::DebuggerKind::Default);
   CollectArgsForIntegratedAssembler(C, Args, CmdArgs,
                                     getToolChain().getDriver());
 


More information about the svn-src-projects mailing list