[compiler-rt] r195346 - tsan: add -lm to output test build script
Dmitry Vyukov
dvyukov at google.com
Thu Nov 21 03:49:08 PST 2013
Author: dvyukov
Date: Thu Nov 21 05:49:08 2013
New Revision: 195346
URL: http://llvm.org/viewvc/llvm-project?rev=195346&view=rev
Log:
tsan: add -lm to output test build script
as common sanitizer interceptors now require it
Modified:
compiler-rt/trunk/lib/tsan/lit_tests/test_output.sh
Modified: compiler-rt/trunk/lib/tsan/lit_tests/test_output.sh
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/tsan/lit_tests/test_output.sh?rev=195346&r1=195345&r2=195346&view=diff
==============================================================================
--- compiler-rt/trunk/lib/tsan/lit_tests/test_output.sh (original)
+++ compiler-rt/trunk/lib/tsan/lit_tests/test_output.sh Thu Nov 21 05:49:08 2013
@@ -13,7 +13,7 @@ BLACKLIST=$ROOTDIR/lit_tests/Helpers/bla
# TODO: add testing for all of -O0...-O3
CFLAGS="-fsanitize=thread -fsanitize-blacklist=$BLACKLIST -fPIE -O1 -g -Wall"
-LDFLAGS="-pie -lpthread -ldl -lrt -Wl,--whole-archive $ROOTDIR/rtl/libtsan.a -Wl,--no-whole-archive"
+LDFLAGS="-pie -lpthread -ldl -lrt -lm -Wl,--whole-archive $ROOTDIR/rtl/libtsan.a -Wl,--no-whole-archive"
test_file() {
SRC=$1
More information about the llvm-commits
mailing list