projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f84559
)
tsan: don't add -pie when compiling tests
author
Dmitry Vyukov
<dvyukov@google.com>
Wed, 19 Nov 2014 10:45:53 +0000
(10:45 +0000)
committer
Dmitry Vyukov
<dvyukov@google.com>
Wed, 19 Nov 2014 10:45:53 +0000
(10:45 +0000)
driver should add it as necessary
llvm-svn: 222343
compiler-rt/test/tsan/test_output.sh
patch
|
blob
|
history
diff --git
a/compiler-rt/test/tsan/test_output.sh
b/compiler-rt/test/tsan/test_output.sh
index
f5b75ed
..
bce0fe8
100755
(executable)
--- a/
compiler-rt/test/tsan/test_output.sh
+++ b/
compiler-rt/test/tsan/test_output.sh
@@
-12,8
+12,8
@@
TSAN_DIR=$(dirname $0)/../../lib/tsan
: ${FILECHECK:=FileCheck}
# TODO: add testing for all of -O0...-O3
-CFLAGS="-fsanitize=thread -
fPIE -O1
-g -Wall"
-LDFLAGS="-p
ie -p
thread -ldl -lrt -lm -Wl,--whole-archive $TSAN_DIR/rtl/libtsan.a -Wl,--no-whole-archive"
+CFLAGS="-fsanitize=thread -
O2
-g -Wall"
+LDFLAGS="-pthread -ldl -lrt -lm -Wl,--whole-archive $TSAN_DIR/rtl/libtsan.a -Wl,--no-whole-archive"
test_file() {
SRC=$1