[compiler-rt] r264016 - [asan] Relax strdup test check lines
Reid Kleckner via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 21 18:04:33 PDT 2016
Author: rnk
Date: Mon Mar 21 20:04:33 2016
New Revision: 264016
URL: http://llvm.org/viewvc/llvm-project?rev=264016&view=rev
Log:
[asan] Relax strdup test check lines
On the buildbot, strdup appears as frame 1 instead of frame 0. Either is
an acceptable user experience.
Modified:
compiler-rt/trunk/test/asan/TestCases/Windows/intercept_strdup.cc
Modified: compiler-rt/trunk/test/asan/TestCases/Windows/intercept_strdup.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Windows/intercept_strdup.cc?rev=264016&r1=264015&r2=264016&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Windows/intercept_strdup.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Windows/intercept_strdup.cc Mon Mar 21 20:04:33 2016
@@ -20,7 +20,7 @@ int main() {
// CHECK: {{#0 .* main .*}}intercept_strdup.cc:[[@LINE-3]]
// CHECK: [[ADDR]] is located 1 bytes to the left of 6-byte region
// CHECK: allocated by thread T0 here:
-// CHECK: {{#0 .*strdup}}
-// CHECK: {{#1 .* main .*}}intercept_strdup.cc:[[@LINE-15]]
+// CHECK: {{#[0-9] .*strdup}}
+// CHECK: {{#[0-9] .* main .*}}intercept_strdup.cc:[[@LINE-15]]
free(ptr);
}
More information about the llvm-commits
mailing list