From: Reid Kleckner Date: Tue, 22 Mar 2016 01:04:33 +0000 (+0000) Subject: [asan] Relax strdup test check lines X-Git-Tag: llvmorg-3.9.0-rc1~11281 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2ea051e699380b4b831631870f756cd965238d01;p=platform%2Fupstream%2Fllvm.git [asan] Relax strdup test check lines On the buildbot, strdup appears as frame 1 instead of frame 0. Either is an acceptable user experience. llvm-svn: 264016 --- diff --git a/compiler-rt/test/asan/TestCases/Windows/intercept_strdup.cc b/compiler-rt/test/asan/TestCases/Windows/intercept_strdup.cc index 5a4a24d..ad710fc 100644 --- a/compiler-rt/test/asan/TestCases/Windows/intercept_strdup.cc +++ b/compiler-rt/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); }