Remove sanitizer context workaround no longer necessary

The base linker is now lld.

llvm-svn: 354721
This commit is contained in:
Brad Smith 2019-02-23 06:19:28 +00:00
parent 1bf3a09b3d
commit 6c664eda78

View File

@ -226,9 +226,7 @@ void openbsd::Linker::ConstructJob(Compilation &C, const JobAction &JA,
CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath(crtend)));
}
const char *Exec = Args.MakeArgString(
!NeedsSanitizerDeps ? ToolChain.GetLinkerPath()
: ToolChain.GetProgramPath("ld.lld"));
const char *Exec = Args.MakeArgString(ToolChain.GetLinkerPath());
C.addCommand(llvm::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
}