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:
parent
e7145dcb9f
commit
6f79a7d5fc
@ -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());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user