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

Alexey Samsonov vonosmas at gmail.com
Thu Jul 2 12:10:07 PDT 2015


samsonov accepted this revision.
samsonov added a comment.
This revision is now accepted and ready to land.

LGTM


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

================
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
----------------
Is there a bug for weird column info on Windows?


http://reviews.llvm.org/D10864







More information about the llvm-commits mailing list