[compiler-rt] r182463 - [asan] enhance stack-overflow.cc test: check that the location frame is properly symbolized

Kostya Serebryany kcc at google.com
Wed May 22 04:00:56 PDT 2013


Author: kcc
Date: Wed May 22 06:00:56 2013
New Revision: 182463

URL: http://llvm.org/viewvc/llvm-project?rev=182463&view=rev
Log:
[asan] enhance stack-overflow.cc test: check that the location frame is properly symbolized

Modified:
    compiler-rt/trunk/lib/asan/lit_tests/stack-overflow.cc

Modified: compiler-rt/trunk/lib/asan/lit_tests/stack-overflow.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/lit_tests/stack-overflow.cc?rev=182463&r1=182462&r2=182463&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/lit_tests/stack-overflow.cc (original)
+++ compiler-rt/trunk/lib/asan/lit_tests/stack-overflow.cc Wed May 22 06:00:56 2013
@@ -15,6 +15,6 @@ int main(int argc, char **argv) {
   // CHECK: {{READ of size 1 at 0x.* thread T0}}
   // CHECK: {{    #0 0x.* in _?main .*stack-overflow.cc:}}[[@LINE-2]]
   // CHECK: {{Address 0x.* is located in stack of thread T0 at offset}}
-  // CHECK: main
+  // CHECK-NEXT: in{{.*}}main{{.*}}stack-overflow.cc
   return res;
 }





More information about the llvm-commits mailing list