[PATCH] D10864: UBSan: Enable runtime library tests on Windows, and get most tests passing.

Peter Collingbourne peter at pcc.me.uk
Thu Jul 2 15:08:57 PDT 2015


pcc added inline comments.

================
Comment at: test/ubsan/CMakeLists.txt:7
@@ +6,3 @@
+if(WIN32 AND NOT COMPILER_RT_STANDALONE_BUILD)
+  list(APPEND UBSAN_TEST_DEPS KillTheDoctor)
+endif()
----------------
samsonov wrote:
> You can now delete this part
Done

================
Comment at: test/ubsan/TestCases/TypeCheck/misaligned.cpp:61
@@ -60,3 +60,3 @@
   case 'r':
-    // CHECK-REFERENCE: misaligned.cpp:[[@LINE+4]]:15: runtime error: reference binding to misaligned address [[PTR:0x[0-9a-f]*]] for type 'int', which requires 4 byte alignment
+    // CHECK-REFERENCE: misaligned.cpp:[[@LINE+4]]{{(:(5|15))?}}: runtime error: reference binding to misaligned address [[PTR:0x[0-9a-f]*]] for type 'int', which requires 4 byte alignment
     // CHECK-REFERENCE-NEXT: [[PTR]]: note: pointer points here
----------------
samsonov wrote:
> Is there a bug for weird column info on Windows?
Filed PR24024.


http://reviews.llvm.org/D10864







More information about the llvm-commits mailing list