[PATCH] D109244: [clang] Allow the OpenBSD driver to link the libclang_rt.profile library.
Brad Smith via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 3 14:18:59 PDT 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rG466451c66162: [clang] Allow the OpenBSD driver to link the libclang_rt.profile library. (authored by fcambus, committed by brad).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D109244/new/
https://reviews.llvm.org/D109244
Files:
clang/lib/Driver/ToolChains/OpenBSD.cpp
Index: clang/lib/Driver/ToolChains/OpenBSD.cpp
===================================================================
--- clang/lib/Driver/ToolChains/OpenBSD.cpp
+++ clang/lib/Driver/ToolChains/OpenBSD.cpp
@@ -223,6 +223,8 @@
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(),
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109244.370673.patch
Type: text/x-patch
Size: 553 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210903/7a7d47c9/attachment.bin>
More information about the cfe-commits
mailing list