projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bf3a09
)
Remove sanitizer context workaround no longer necessary
author
Brad Smith
<brad@comstyle.com>
Sat, 23 Feb 2019 06:19:28 +0000
(06:19 +0000)
committer
Brad 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
patch
|
blob
|
history
diff --git
a/clang/lib/Driver/ToolChains/OpenBSD.cpp
b/clang/lib/Driver/ToolChains/OpenBSD.cpp
index
91ed706
..
8441b83
100644
(file)
--- a/
clang/lib/Driver/ToolChains/OpenBSD.cpp
+++ b/
clang/lib/Driver/ToolChains/OpenBSD.cpp
@@
-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));
}