From be916c3b502d113fd9b1488aa4a14293615f5935 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 3 May 2016 13:59:41 +0000 Subject: 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 --- lib/tsan/check_analyze.sh | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) (limited to 'lib/tsan/check_analyze.sh') 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 -- cgit v1.2.3