[PATCH] [ubsan] fix vptr test on ARM
Greg Fitzgerald
gregf at codeaurora.org
Tue May 20 15:15:34 PDT 2014
Closed by commit rL209249 (authored by @garious).
http://reviews.llvm.org/D3751
Files:
compiler-rt/trunk/test/ubsan/TestCases/TypeCheck/vptr.cpp
Index: compiler-rt/trunk/test/ubsan/TestCases/TypeCheck/vptr.cpp
===================================================================
--- compiler-rt/trunk/test/ubsan/TestCases/TypeCheck/vptr.cpp
+++ compiler-rt/trunk/test/ubsan/TestCases/TypeCheck/vptr.cpp
@@ -86,7 +86,7 @@
// CHECK-NULL-MEMBER: vptr.cpp:[[@LINE-2]]:15: runtime error: member access within address [[PTR:0x[0-9a-f]*]] which does not point to an object of type 'T'
// CHECK-NULL-MEMBER-NEXT: [[PTR]]: note: object has invalid vptr
- // CHECK-NULL-MEMBER-NEXT: {{^ .. .. .. .. 00 00 00 00 00 00 00 00 }}
+ // CHECK-NULL-MEMBER-NEXT: {{^ ?.. .. .. .. ?00 00 00 00 ?00 00 00 00 ?}}
// CHECK-NULL-MEMBER-NEXT: {{^ \^~~~~~~~~~~(~~~~~~~~~~~~)? *$}}
// CHECK-NULL-MEMBER-NEXT: {{^ invalid vptr}}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3751.9643.patch
Type: text/x-patch
Size: 818 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140520/d2dfae2c/attachment.bin>
More information about the llvm-commits
mailing list