Remove sanitizer context workaround no longer necessary
authorBrad Smith <brad@comstyle.com>
Sat, 23 Feb 2019 06:19:28 +0000 (06:19 +0000)
committerBrad Smith <brad@comstyle.com>
Sat, 23 Feb 2019 06:19:28 +0000 (06:19 +0000)
The base linker is now lld.

llvm-svn: 354721

clang/lib/Driver/ToolChains/OpenBSD.cpp

index 91ed706..8441b83 100644 (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));
 }