diff options
Diffstat (limited to 'compiler-rt/lib/tsan/check_analyze.sh')
-rwxr-xr-x | compiler-rt/lib/tsan/check_analyze.sh | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/compiler-rt/lib/tsan/check_analyze.sh b/compiler-rt/lib/tsan/check_analyze.sh index 65c34d466da..5e7a9a96742 100755 --- a/compiler-rt/lib/tsan/check_analyze.sh +++ b/compiler-rt/lib/tsan/check_analyze.sh @@ -34,16 +34,22 @@ check() { fi } -for f in write1 write2 write4 write8 read2 read4; do +for f in write1 write2 write4 write8; do check $f rsp 1 check $f push 1 - check $f pop 6 + check $f pop 8 done -for f in read1 read8; do +for f in read1; do check $f rsp 1 check $f push 2 - check $f pop 12 + check $f pop 16 +done + +for f in read2 read4 read8; do + check $f rsp 1 + check $f push 3 + check $f pop 24 done for f in func_entry func_exit; do |