summaryrefslogtreecommitdiff
path: root/test/asan/TestCases/Windows
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2016-06-04 06:16:49 +0000
committerChandler Carruth <chandlerc@gmail.com>2016-06-04 06:16:49 +0000
commitbca6fcbb4cedec96b97945bb947169b6507ad850 (patch)
tree0d06977dd71813b44d9b141dae97d3b81e2c2aa1 /test/asan/TestCases/Windows
parent37797b4adcbbbeed9bbf88e09fd1c8f82137159a (diff)
Temporary hack to this test to try and get the sanitizer-windows bot to
show enough information for me to fix the patterns used here. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@271779 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/asan/TestCases/Windows')
-rw-r--r--test/asan/TestCases/Windows/intercept_strdup.cc12
1 files changed, 10 insertions, 2 deletions
diff --git a/test/asan/TestCases/Windows/intercept_strdup.cc b/test/asan/TestCases/Windows/intercept_strdup.cc
index ad710fc09..51c033a0a 100644
--- a/test/asan/TestCases/Windows/intercept_strdup.cc
+++ b/test/asan/TestCases/Windows/intercept_strdup.cc
@@ -20,7 +20,15 @@ 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-9] .*strdup}}
-// CHECK: {{#[0-9] .* main .*}}intercept_strdup.cc:[[@LINE-15]]
+// CHECK: #0 {{.*strdup}}
+// CHECK: #1 {{.* main .*}}intercept_strdup.cc:[[@LINE-15]]
+// CHECK: #2 {{.*foobar}}
+// CHECK: #3 {{.*foobar}}
+// CHECK: #4 {{.*foobar}}
+// CHECK: #5 {{.*foobar}}
+// CHECK: #6 {{.*foobar}}
+// CHECK: #7 {{.*foobar}}
+// CHECK: #8 {{.*foobar}}
+// CHECK: #9 {{.*foobar}}
free(ptr);
}