r354721 - Remove sanitizer context workaround no longer necessary

Hans Wennborg via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 26 02:25:01 PST 2019


Merged to release_80 in r354858.

On Sat, Feb 23, 2019 at 7:18 AM Brad Smith via cfe-commits
<cfe-commits at lists.llvm.org> wrote:
>
> 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));
>  }
>
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


More information about the cfe-commits mailing list