summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/asan/TestCases/use-after-scope-capture.cc
diff options
context:
space:
mode:
authorVitaly Buka <vitalybuka@google.com>2016-05-02 23:34:40 +0000
committerVitaly Buka <vitalybuka@google.com>2016-05-02 23:34:40 +0000
commit8742943cb04d1bd69a692e5d57bb08c08def2f26 (patch)
treedc217fce7c363eaf918178aa64b7214a48df2577 /compiler-rt/test/asan/TestCases/use-after-scope-capture.cc
parent97837b7b091621537854a753942ce504560dee45 (diff)
downloadbcm5719-llvm-8742943cb04d1bd69a692e5d57bb08c08def2f26.tar.gz
bcm5719-llvm-8742943cb04d1bd69a692e5d57bb08c08def2f26.zip
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
Diffstat (limited to 'compiler-rt/test/asan/TestCases/use-after-scope-capture.cc')
-rw-r--r--compiler-rt/test/asan/TestCases/use-after-scope-capture.cc2
1 files changed, 1 insertions, 1 deletions
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 bfa7bcd32ca..926cf135b21 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
OpenPOWER on IntegriCloud