[PATCH] [ubsan] fix vptr test on ARM
Greg Fitzgerald
gregf at codeaurora.org
Tue May 13 19:20:43 PDT 2014
http://reviews.llvm.org/D3751
Files:
test/ubsan/TestCases/TypeCheck/vptr.cpp
Index: test/ubsan/TestCases/TypeCheck/vptr.cpp
===================================================================
--- test/ubsan/TestCases/TypeCheck/vptr.cpp
+++ 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.9371.patch
Type: text/x-patch
Size: 768 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140514/5f2cff27/attachment.bin>
More information about the llvm-commits
mailing list