diff options
author | Reid Kleckner <rnk@google.com> | 2016-03-22 01:04:33 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2016-03-22 01:04:33 +0000 |
commit | 32897ea25860cbe5d50ce21e7e200d4e38a0ce11 (patch) | |
tree | 5f355b14da193984845b94868bdfe31c3f662291 /test/asan/TestCases/Windows | |
parent | d04b5d420152cd5492e659e9d4a578a40f8047a0 (diff) |
[asan] Relax strdup test check lines
On the buildbot, strdup appears as frame 1 instead of frame 0. Either is
an acceptable user experience.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@264016 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/asan/TestCases/Windows')
-rw-r--r-- | test/asan/TestCases/Windows/intercept_strdup.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/asan/TestCases/Windows/intercept_strdup.cc b/test/asan/TestCases/Windows/intercept_strdup.cc index 5a4a24dcd..ad710fc09 100644 --- a/test/asan/TestCases/Windows/intercept_strdup.cc +++ b/test/asan/TestCases/Windows/intercept_strdup.cc @@ -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); } |