[PATCH] [ASan] Really fix zero_page_pc test for PowerPC

Alexey Samsonov vonosmas at gmail.com
Wed Nov 12 16:19:56 PST 2014


================
Comment at: test/asan/TestCases/zero_page_pc.cc:11
@@ -10,3 +10,3 @@
   func();
-  // CHECK: {{AddressSanitizer: SEGV.*(pc.*0004)}}
+  // CHECK: {{AddressSanitizer: SEGV.*(address 0x0*4|pc 0x0*4)}}
   return 0;
----------------
Why not
  (address|pc) 0x0*4
Also, it would be nice to add a comment with your discovery here.

http://reviews.llvm.org/D6226






More information about the llvm-commits mailing list