[compiler-rt] r276381 - Fix test on windows, symbolizer returns invalid line

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 21 18:47:28 PDT 2016


Author: vitalybuka
Date: Thu Jul 21 20:47:28 2016
New Revision: 276381

URL: http://llvm.org/viewvc/llvm-project?rev=276381&view=rev
Log:
Fix test on windows, symbolizer returns invalid line

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

Modified: compiler-rt/trunk/test/asan/TestCases/use-after-scope-types.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/use-after-scope-types.cc?rev=276381&r1=276380&r2=276381&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/use-after-scope-types.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/use-after-scope-types.cc Thu Jul 21 20:47:28 2016
@@ -43,7 +43,7 @@ template <class T> void test() {
 
   ptr.Access();
   // CHECK: ERROR: AddressSanitizer: stack-use-after-scope
-  // CHECK:  #{{[0-9]+}} 0x{{.*}} in void test{{.*}}(){{.*}}use-after-scope-types.cc:[[@LINE-2]]
+  // CHECK:  #{{[0-9]+}} 0x{{.*}} in void test{{.*}}(){{.*}}use-after-scope-types.cc
   // CHECK: Address 0x{{.*}} is located in stack of thread T{{.*}} at offset [[OFFSET:[^ ]+]] in frame
   // {{\[}}[[OFFSET]], {{[0-9]+}}) 'x'
 }




More information about the llvm-commits mailing list