[PATCH] D21588: [asan] Relax a flaky invalid-pointer-pairs test
Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 22 13:59:19 PDT 2016
This revision was automatically updated to reflect the committed changes.
Closed by commit rL273475: [asan] Relax a flaky invalid-pointer-pairs test (authored by zaks).
Changed prior to commit:
http://reviews.llvm.org/D21588?vs=61482&id=61607#toc
Repository:
rL LLVM
http://reviews.llvm.org/D21588
Files:
compiler-rt/trunk/test/asan/TestCases/invalid-pointer-pairs.cc
Index: compiler-rt/trunk/test/asan/TestCases/invalid-pointer-pairs.cc
===================================================================
--- compiler-rt/trunk/test/asan/TestCases/invalid-pointer-pairs.cc
+++ compiler-rt/trunk/test/asan/TestCases/invalid-pointer-pairs.cc
@@ -13,10 +13,10 @@
// [[PTR1:0x[0-9a-f]+]] [[PTR2:0x[0-9a-f]+]]
switch (c) {
case 'g':
- // CMP: #0 {{.*}} in f({{char, char\*, char\*|char,char \*,char \*}}) {{.*}}invalid-pointer-pairs.cc:[[@LINE+1]]:14
+ // CMP: #{{[0-9]+ .*}} in f({{char, char\*, char\*|char,char \*,char \*}}) {{.*}}invalid-pointer-pairs.cc:[[@LINE+1]]:14
return p > q;
case 's':
- // SUB: #0 {{.*}} in f({{char, char\*, char\*|char,char \*,char \*}}) {{.*}}invalid-pointer-pairs.cc:[[@LINE+1]]:14
+ // SUB: #{{[0-9]+ .*}} in f({{char, char\*, char\*|char,char \*,char \*}}) {{.*}}invalid-pointer-pairs.cc:[[@LINE+1]]:14
return p - q;
case 'k': {
// OK-NOT: ERROR
@@ -26,7 +26,7 @@
case 'f': {
char *p3 = p + 20;
free(p);
- // FREE: #0 {{.*}} in f({{char, char\*, char\*|char,char \*,char \*}}) {{.*}}invalid-pointer-pairs.cc:[[@LINE+2]]:14
+ // FREE: #{{[0-9]+ .*}} in f({{char, char\*, char\*|char,char \*,char \*}}) {{.*}}invalid-pointer-pairs.cc:[[@LINE+2]]:14
// FREE: freed by thread
return p < p3;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21588.61607.patch
Type: text/x-patch
Size: 1326 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160622/946dbd79/attachment.bin>
More information about the llvm-commits
mailing list