From: Vitaly Buka Date: Mon, 2 May 2016 23:34:40 +0000 (+0000) Subject: Relax stack check as on some platforms demanglers fail X-Git-Tag: llvmorg-3.9.0-rc1~7182 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8742943cb04d1bd69a692e5d57bb08c08def2f26;p=platform%2Fupstream%2Fllvm.git Relax stack check as on some platforms demanglers fail Summary: On Windows (already fixed) and FreeBSD we have stacks traces without operator(). Reviewers: eugenis Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D19427 llvm-svn: 268332 --- diff --git a/compiler-rt/test/asan/TestCases/use-after-scope-capture.cc b/compiler-rt/test/asan/TestCases/use-after-scope-capture.cc index bfa7bcd..926cf13 100644 --- a/compiler-rt/test/asan/TestCases/use-after-scope-capture.cc +++ b/compiler-rt/test/asan/TestCases/use-after-scope-capture.cc @@ -10,7 +10,7 @@ int main() { f = [&x]() { return x; // BOOM // CHECK: ERROR: AddressSanitizer: stack-use-after-scope - // CHECK: #0 0x{{.*}} in {{.*}}::operator(){{.*}}.cc:[[@LINE-2]] + // CHECK: #0 0x{{.*}} in {{.*}}use-after-scope-capture.cc:[[@LINE-2]] }; } return f(); // BOOM