]> granicus.if.org Git - llvm/commitdiff
Disable this unit test on MSVC, which crashes while compiling it.
authorAdrian Prantl <aprantl@apple.com>
Mon, 9 May 2016 22:59:55 +0000 (22:59 +0000)
committerAdrian Prantl <aprantl@apple.com>
Mon, 9 May 2016 22:59:55 +0000 (22:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@268985 91177308-0d34-0410-b5e6-96231b3b80d8

unittests/IR/VerifierTest.cpp

index 1fc50da16a9d2867c3c3336b520cda1c83d9b9b5..8f2838279d14022d8ea07046b97894aad626670c 100644 (file)
@@ -145,6 +145,8 @@ TEST(VerifierTest, CrossModuleMetadataRef) {
                   .startswith("Referencing global in another module!"));
 }
 
+#ifndef _MSC_VER
+// FIXME: This test causes an ICE in MSVC 2013.
 TEST(VerifierTest, StripInvalidDebugInfo) {
   LLVMContext C;
   Module M("M", C);
@@ -167,7 +169,7 @@ TEST(VerifierTest, StripInvalidDebugInfo) {
   MPM.run(M, MAM);
   EXPECT_FALSE(verifyModule(M));
 }
-
+#endif
 
 } // end anonymous namespace
 } // end namespace llvm