summaryrefslogtreecommitdiff
path: root/test
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
commit3bd85d70b28b7fbb59af3b9b1013adda99ec0c7b (patch)
tree80522530995478e34937fa834052b85beb315ef2 /test
parent151b497067b300af9d3da4487ce5f92125ff831b (diff)
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 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@268332 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/asan/TestCases/use-after-scope-capture.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/asan/TestCases/use-after-scope-capture.cc b/test/asan/TestCases/use-after-scope-capture.cc
index bfa7bcd32..926cf135b 100644
--- a/test/asan/TestCases/use-after-scope-capture.cc
+++ b/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