From: Adrian Prantl Date: Mon, 9 May 2016 22:59:55 +0000 (+0000) Subject: Disable this unit test on MSVC, which crashes while compiling it. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2158bbea6ea003ca05204050742b4504d4f24a52;p=llvm Disable this unit test on MSVC, which crashes while compiling it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@268985 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/unittests/IR/VerifierTest.cpp b/unittests/IR/VerifierTest.cpp index 1fc50da16a9..8f2838279d1 100644 --- a/unittests/IR/VerifierTest.cpp +++ b/unittests/IR/VerifierTest.cpp @@ -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