r354721 - Remove sanitizer context workaround no longer necessary

Brad Smith via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 22 22:19:29 PST 2019


Author: brad
Date: Fri Feb 22 22:19:28 2019
New Revision: 354721

URL: http://llvm.org/viewvc/llvm-project?rev=354721&view=rev
Log:
Remove sanitizer context workaround no longer necessary

The base linker is now lld.

Modified:
    cfe/trunk/lib/Driver/ToolChains/OpenBSD.cpp

Modified: cfe/trunk/lib/Driver/ToolChains/OpenBSD.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/ToolChains/OpenBSD.cpp?rev=354721&r1=354720&r2=354721&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/ToolChains/OpenBSD.cpp (original)
+++ cfe/trunk/lib/Driver/ToolChains/OpenBSD.cpp Fri Feb 22 22:19:28 2019
@@ -226,9 +226,7 @@ void openbsd::Linker::ConstructJob(Compi
     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));
 }
 




More information about the cfe-commits mailing list