From 6f79a7d5fccb951f43a7846ef824a0b42b7a977a Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Wed, 17 Aug 2016 06:58:43 +0000 Subject: [PATCH] Remove one obsolete piece of code, that I originally imported from upstream clang r266775, but got moved around later in upstream r266797. --- contrib/llvm/tools/clang/lib/Driver/Tools.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/contrib/llvm/tools/clang/lib/Driver/Tools.cpp b/contrib/llvm/tools/clang/lib/Driver/Tools.cpp index a40d6378521c..af70017edb05 100644 --- a/contrib/llvm/tools/clang/lib/Driver/Tools.cpp +++ b/contrib/llvm/tools/clang/lib/Driver/Tools.cpp @@ -6616,12 +6616,6 @@ void ClangAs::ConstructJob(Compilation &C, const JobAction &JA, // 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());