diff options
author | Dmitry Vyukov <dvyukov@google.com> | 2016-05-03 13:59:41 +0000 |
---|---|---|
committer | Dmitry Vyukov <dvyukov@google.com> | 2016-05-03 13:59:41 +0000 |
commit | be916c3b502d113fd9b1488aa4a14293615f5935 (patch) | |
tree | 9bbc01907b37b1871b9160f4a9c4f47e57480282 /lib/tsan/check_analyze.sh | |
parent | 3bd85d70b28b7fbb59af3b9b1013adda99ec0c7b (diff) |
tsan: update tsan_analyze to what tip clang generates
We used to depend on host gcc. But some distributions got
new gcc recently which broke the check. Generally, we can't
depend that an arbitrary host gcc generates something stable.
Switch to clang.
This has an additional advantage of catching regressions in
clang codegen.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@268382 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/tsan/check_analyze.sh')
-rwxr-xr-x | lib/tsan/check_analyze.sh | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/lib/tsan/check_analyze.sh b/lib/tsan/check_analyze.sh index dc47d6e01..a5d3632df 100755 --- a/lib/tsan/check_analyze.sh +++ b/lib/tsan/check_analyze.sh @@ -32,25 +32,13 @@ for f in write1; do check $f pop 2 done -for f in write2 write4; do - check $f rsp 1 - check $f push 4 - check $f pop 4 -done - -for f in write8; do +for f in write2 write4 write8; do check $f rsp 1 check $f push 3 check $f pop 3 done -for f in read1; do - check $f rsp 1 - check $f push 6 - check $f pop 6 -done - -for f in read2 read4 read8; do +for f in read1 read2 read4 read8; do check $f rsp 1 check $f push 5 check $f pop 5 |