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:
bc066e2
)
[clang] Allow the OpenBSD driver to link the libclang_rt.profile library.
author
Frederic Cambus
<fred@statdns.com>
Fri, 3 Sep 2021 20:53:36 +0000
(16:53 -0400)
committer
Brad Smith
<brad@comstyle.com>
Fri, 3 Sep 2021 21:18:40 +0000
(17:18 -0400)
Differential Revision: https://reviews.llvm.org/D109244
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
1443d84
..
402ac23
100644
(file)
--- a/
clang/lib/Driver/ToolChains/OpenBSD.cpp
+++ b/
clang/lib/Driver/ToolChains/OpenBSD.cpp
@@
-223,6
+223,8
@@
void openbsd::Linker::ConstructJob(Compilation &C, const JobAction &JA,
CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath(crtend)));
}
+ ToolChain.addProfileRTLibs(Args, CmdArgs);
+
const char *Exec = Args.MakeArgString(ToolChain.GetLinkerPath());
C.addCommand(std::make_unique<Command>(JA, *this,
ResponseFileSupport::AtFileCurCP(),