[compiler-rt] r309639 - [sancov] Fix coverage-reset test on Android/i686.

Evgeniy Stepanov via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 31 16:08:27 PDT 2017


Author: eugenis
Date: Mon Jul 31 16:08:27 2017
New Revision: 309639

URL: http://llvm.org/viewvc/llvm-project?rev=309639&view=rev
Log:
[sancov] Fix coverage-reset test on Android/i686.

DSO coverage may be dumped in any order.

Modified:
    compiler-rt/trunk/test/asan/TestCases/Posix/coverage-reset.cc

Modified: compiler-rt/trunk/test/asan/TestCases/Posix/coverage-reset.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Posix/coverage-reset.cc?rev=309639&r1=309638&r2=309639&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Posix/coverage-reset.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Posix/coverage-reset.cc Mon Jul 31 16:08:27 2017
@@ -27,8 +27,8 @@ int main(int argc, char **argv) {
   bar2();
   __sanitizer_cov_dump();
 // CHECK: RESET
-// CHECK: SanitizerCoverage: ./coverage-reset.cc{{.*}}.sancov: 2 PCs written
-// CHECK: SanitizerCoverage: ./libcoverage-reset.cc{{.*}}.sancov: 2 PCs written
+// CHECK-DAG: SanitizerCoverage: ./coverage-reset.cc{{.*}}.sancov: 2 PCs written
+// CHECK-DAG: SanitizerCoverage: ./libcoverage-reset.cc{{.*}}.sancov: 2 PCs written
 
   fprintf(stderr, "RESET\n");
   __sanitizer_cov_reset();
@@ -36,8 +36,8 @@ int main(int argc, char **argv) {
   bar1();
   __sanitizer_cov_dump();
 // CHECK: RESET
-// CHECK: SanitizerCoverage: ./coverage-reset.cc{{.*}}.sancov: 1 PCs written
-// CHECK: SanitizerCoverage: ./libcoverage-reset.cc{{.*}}.sancov: 1 PCs written
+// CHECK-DAG: SanitizerCoverage: ./coverage-reset.cc{{.*}}.sancov: 1 PCs written
+// CHECK-DAG: SanitizerCoverage: ./libcoverage-reset.cc{{.*}}.sancov: 1 PCs written
 
   fprintf(stderr, "RESET\n");
   __sanitizer_cov_reset();




More information about the llvm-commits mailing list