[PATCH] D31382: [XRay][clang] Remove dependency on libatomic for XRay builds
Dean Michael Berris via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Mar 26 22:11:03 PDT 2017
dberris created this revision.
This change depends on https://reviews.llvm.org/D31381 where we change the implementation to use
sanitizer_common provided atomic operations library.
Fixes http://llvm.org/PR32274.
https://reviews.llvm.org/D31382
Files:
lib/Driver/ToolChains/Gnu.cpp
Index: lib/Driver/ToolChains/Gnu.cpp
===================================================================
--- lib/Driver/ToolChains/Gnu.cpp
+++ lib/Driver/ToolChains/Gnu.cpp
@@ -346,7 +346,6 @@
CmdArgs.push_back("-lpthread");
CmdArgs.push_back("-lrt");
CmdArgs.push_back("-lm");
- CmdArgs.push_back("-latomic");
if (TC.getTriple().getOS() != llvm::Triple::FreeBSD)
CmdArgs.push_back("-ldl");
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31382.93097.patch
Type: text/x-patch
Size: 411 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170327/aa4abf3e/attachment.bin>
More information about the cfe-commits
mailing list