Remove one obsolete piece of code, that I originally imported from

upstream clang r266775, but got moved around later in upstream r266797.
This commit is contained in:
Dimitry Andric 2016-08-17 06:58:43 +00:00
parent e7145dcb9f
commit 6f79a7d5fc

View File

@ -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());