diff options
| author | Alexey Samsonov <samsonov@google.com> | 2013-09-11 11:06:06 +0000 |
|---|---|---|
| committer | Alexey Samsonov <samsonov@google.com> | 2013-09-11 11:06:06 +0000 |
| commit | 4a2447fd81768ce119fb0626671065049fa7840d (patch) | |
| tree | 326fcc87cc11dfe5bd6d417386b132118450bd92 /compiler-rt/lib/tsan/lit_tests | |
| parent | f5bd937bc4ddae9096adf825c96fc1583087bb8b (diff) | |
| download | bcm5719-llvm-4a2447fd81768ce119fb0626671065049fa7840d.tar.gz bcm5719-llvm-4a2447fd81768ce119fb0626671065049fa7840d.zip | |
[TSan] Use --whole-archive around TSan runtime in old TSan makefiles. Fix a Go build
llvm-svn: 190513
Diffstat (limited to 'compiler-rt/lib/tsan/lit_tests')
| -rwxr-xr-x | compiler-rt/lib/tsan/lit_tests/test_output.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/tsan/lit_tests/test_output.sh b/compiler-rt/lib/tsan/lit_tests/test_output.sh index f1f1e4bcd17..79e773aa2c9 100755 --- a/compiler-rt/lib/tsan/lit_tests/test_output.sh +++ b/compiler-rt/lib/tsan/lit_tests/test_output.sh @@ -13,7 +13,7 @@ BLACKLIST=$ROOTDIR/lit_tests/Helpers/blacklist.txt # TODO: add testing for all of -O0...-O3 CFLAGS="-fsanitize=thread -fsanitize-blacklist=$BLACKLIST -fPIE -O1 -g -Wall" -LDFLAGS="-pie -lpthread -ldl -lrt $ROOTDIR/rtl/libtsan.a" +LDFLAGS="-pie -lpthread -ldl -lrt -Wl,--whole-archive $ROOTDIR/rtl/libtsan.a -Wl,--no-whole-archive" test_file() { SRC=$1 |

