[PATCH] D64134: [scudo][standalone] Link tests against libatomic

Kostya Kortchinsky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 3 09:34:12 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL365052: [scudo][standalone] Link tests against libatomic (authored by cryptoad, committed by ).

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D64134/new/

https://reviews.llvm.org/D64134

Files:
  compiler-rt/trunk/lib/scudo/standalone/tests/CMakeLists.txt


Index: compiler-rt/trunk/lib/scudo/standalone/tests/CMakeLists.txt
===================================================================
--- compiler-rt/trunk/lib/scudo/standalone/tests/CMakeLists.txt
+++ compiler-rt/trunk/lib/scudo/standalone/tests/CMakeLists.txt
@@ -23,6 +23,8 @@
   list(APPEND LINK_FLAGS -l${lib})
 endforeach()
 list(APPEND LINK_FLAGS -pthread)
+# Linking against libatomic is required with some compilers
+list(APPEND LINK_FLAGS -latomic)
 
 set(SCUDO_TEST_HEADERS)
 foreach (header ${SCUDO_HEADERS})


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64134.207819.patch
Type: text/x-patch
Size: 522 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190703/547b1651/attachment.bin>


More information about the llvm-commits mailing list