[compiler-rt] r227877 - [TSan] Update check_analyze.sh expectations to match trunk Clang output.

Alexey Samsonov vonosmas at gmail.com
Mon Feb 2 14:17:24 PST 2015


Author: samsonov
Date: Mon Feb  2 16:17:23 2015
New Revision: 227877

URL: http://llvm.org/viewvc/llvm-project?rev=227877&view=rev
Log:
[TSan] Update check_analyze.sh expectations to match trunk Clang output.

Modified:
    compiler-rt/trunk/lib/tsan/check_analyze.sh

Modified: compiler-rt/trunk/lib/tsan/check_analyze.sh
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/tsan/check_analyze.sh?rev=227877&r1=227876&r2=227877&view=diff
==============================================================================
--- compiler-rt/trunk/lib/tsan/check_analyze.sh (original)
+++ compiler-rt/trunk/lib/tsan/check_analyze.sh Mon Feb  2 16:17:23 2015
@@ -8,17 +8,6 @@ PrintRes() {
 
 PrintRes
 
-wmops="write1 \
-      write2 \
-      write4 \
-      write8"
-rmops="read1 \
-      read2 \
-      read4 \
-      read8"
-func="func_entry \
-      func_exit"
-
 check() {
   res=$(PrintRes | egrep "$1 .* $2 $3; ")
   if [ "$res" == "" ]; then
@@ -27,19 +16,25 @@ check() {
   fi
 }
 
-for f in $wmops; do
-  check $f rsp 3
-  check $f push 1
-  check $f pop 5
+for f in write1; do
+  check $f rsp 1
+  check $f push 2
+  check $f pop 2
 done
 
-for f in $rmops; do
-  check $f rsp 3
-  check $f push 1
-  check $f pop 4
+for f in write2 write4 write8; do
+  check $f rsp 1
+  check $f push 3
+  check $f pop 3
+done
+
+for f in read1 read2 read4 read8; do
+  check $f rsp 1
+  check $f push 5
+  check $f pop 5
 done
 
-for f in $func; do
+for f in func_entry func_exit; do
   check $f rsp 0
   check $f push 0
   check $f pop 0





More information about the llvm-commits mailing list