[PATCH] [UBSan][MIPS] Adding support of MIPS64 in UBSan testing

Alexey Samsonov vonosmas at gmail.com
Wed Dec 3 16:18:12 PST 2014


================
Comment at: test/ubsan/TestCases/TypeCheck/misaligned.cpp:103
@@ +102,3 @@
+    // CHECK-x86_64-WILD-NEXT: <memory cannot be printed>
+    // CHECK-mips64-WILD: misaligned.cpp:[[@LINE+3]]:35: runtime error: member access within misaligned address 0x0000000123 for type 'S', which requires 4 byte alignment
+    // CHECK-mips64-WILD-NEXT: 0x0000000123: note: pointer points here
----------------
Hm, let's not overcomplicate things and just use
  0x{{0+}}123
regexp for address.

http://reviews.llvm.org/D6500






More information about the llvm-commits mailing list