[llvm-commits] [compiler-rt] r171151 - /compiler-rt/trunk/lib/msan/tests/CMakeLists.txt

Evgeniy Stepanov eugeni.stepanov at gmail.com
Thu Dec 27 00:44:19 PST 2012


Author: eugenis
Date: Thu Dec 27 02:44:19 2012
New Revision: 171151

URL: http://llvm.org/viewvc/llvm-project?rev=171151&view=rev
Log:
[msan] Explicitly link unit tests with libstdc++.

Modified:
    compiler-rt/trunk/lib/msan/tests/CMakeLists.txt

Modified: compiler-rt/trunk/lib/msan/tests/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/msan/tests/CMakeLists.txt?rev=171151&r1=171150&r2=171151&view=diff
==============================================================================
--- compiler-rt/trunk/lib/msan/tests/CMakeLists.txt (original)
+++ compiler-rt/trunk/lib/msan/tests/CMakeLists.txt Thu Dec 27 02:44:19 2012
@@ -59,6 +59,8 @@
 set(MSAN_UNITTEST_LINK_FLAGS
   -fsanitize=memory
   -pie
+  # FIXME: we build libcxx without cxxabi and need libstdc++ to provide it.
+  -lstdc++
 )
 
 # Compile source for the given architecture, using compiler





More information about the llvm-commits mailing list