[llvm] r268985 - Disable this unit test on MSVC, which crashes while compiling it.

Adrian Prantl via llvm-commits llvm-commits at lists.llvm.org
Mon May 9 15:59:56 PDT 2016


Author: adrian
Date: Mon May  9 17:59:55 2016
New Revision: 268985

URL: http://llvm.org/viewvc/llvm-project?rev=268985&view=rev
Log:
Disable this unit test on MSVC, which crashes while compiling it.

Modified:
    llvm/trunk/unittests/IR/VerifierTest.cpp

Modified: llvm/trunk/unittests/IR/VerifierTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/IR/VerifierTest.cpp?rev=268985&r1=268984&r2=268985&view=diff
==============================================================================
--- llvm/trunk/unittests/IR/VerifierTest.cpp (original)
+++ llvm/trunk/unittests/IR/VerifierTest.cpp Mon May  9 17:59:55 2016
@@ -145,6 +145,8 @@ TEST(VerifierTest, CrossModuleMetadataRe
                   .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




More information about the llvm-commits mailing list