[compiler-rt] r276326 - Fix unsymbolize unittest. Adding win64 address.

Etienne Bergeron via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 21 13:02:03 PDT 2016


Author: etienneb
Date: Thu Jul 21 15:02:03 2016
New Revision: 276326

URL: http://llvm.org/viewvc/llvm-project?rev=276326&view=rev
Log:
Fix unsymbolize unittest. Adding win64 address.

Modified:
    compiler-rt/trunk/test/asan/TestCases/Windows/unsymbolized.cc

Modified: compiler-rt/trunk/test/asan/TestCases/Windows/unsymbolized.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Windows/unsymbolized.cc?rev=276326&r1=276325&r2=276326&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Windows/unsymbolized.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Windows/unsymbolized.cc Thu Jul 21 15:02:03 2016
@@ -20,6 +20,6 @@ int do_uaf(void) {
   free(x);
   return x[5];
   // CHECK: AddressSanitizer: heap-use-after-free
-  // CHECK: #0 {{0x[a-f0-9]+ \(.*[\\/]unsymbolized.cc.*.exe\+0x40[a-f0-9]{4}\)}}
-  // CHECK: #1 {{0x[a-f0-9]+ \(.*[\\/]unsymbolized.cc.*.exe\+0x40[a-f0-9]{4}\)}}
+  // CHECK: #0 {{0x[a-f0-9]+ \(.*[\\/]unsymbolized.cc.*.exe\+(0x40|0x14000)[a-f0-9]{4}\)}}
+  // CHECK: #1 {{0x[a-f0-9]+ \(.*[\\/]unsymbolized.cc.*.exe\+(0x40|0x14000)[a-f0-9]{4}\)}}
 }




More information about the llvm-commits mailing list