[compiler-rt] r268332 - Relax stack check as on some platforms demanglers fail

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Mon May 2 16:34:41 PDT 2016


Author: vitalybuka
Date: Mon May  2 18:34:40 2016
New Revision: 268332

URL: http://llvm.org/viewvc/llvm-project?rev=268332&view=rev
Log:
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

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

Modified: compiler-rt/trunk/test/asan/TestCases/use-after-scope-capture.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/use-after-scope-capture.cc?rev=268332&r1=268331&r2=268332&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/use-after-scope-capture.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/use-after-scope-capture.cc Mon May  2 18:34:40 2016
@@ -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




More information about the llvm-commits mailing list