[compiler-rt] r209249 - [ubsan] fix vptr test on ARM
Greg Fitzgerald
gregf at codeaurora.org
Tue May 20 15:07:58 PDT 2014
Author: garious
Date: Tue May 20 17:07:58 2014
New Revision: 209249
URL: http://llvm.org/viewvc/llvm-project?rev=209249&view=rev
Log:
[ubsan] fix vptr test on ARM
Differential Revision: http://reviews.llvm.org/D3751
Modified:
compiler-rt/trunk/test/ubsan/TestCases/TypeCheck/vptr.cpp
Modified: compiler-rt/trunk/test/ubsan/TestCases/TypeCheck/vptr.cpp
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/ubsan/TestCases/TypeCheck/vptr.cpp?rev=209249&r1=209248&r2=209249&view=diff
==============================================================================
--- compiler-rt/trunk/test/ubsan/TestCases/TypeCheck/vptr.cpp (original)
+++ compiler-rt/trunk/test/ubsan/TestCases/TypeCheck/vptr.cpp Tue May 20 17:07:58 2014
@@ -86,7 +86,7 @@ int main(int, char **argv) {
// 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}}
More information about the llvm-commits
mailing list