Skip to content

Commit 8742943

Browse files
committed
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
1 parent 97837b7 commit 8742943

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/test/asan/TestCases/use-after-scope-capture.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ int main() {
1010
f = [&x]() {
1111
return x; // BOOM
1212
// CHECK: ERROR: AddressSanitizer: stack-use-after-scope
13-
// CHECK: #0 0x{{.*}} in {{.*}}::operator(){{.*}}.cc:[[@LINE-2]]
13+
// CHECK: #0 0x{{.*}} in {{.*}}use-after-scope-capture.cc:[[@LINE-2]]
1414
};
1515
}
1616
return f(); // BOOM

0 commit comments

Comments
 (0)