From 2158bbea6ea003ca05204050742b4504d4f24a52 Mon Sep 17 00:00:00 2001 From: Adrian Prantl Date: Mon, 9 May 2016 22:59:55 +0000 Subject: [PATCH] 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 --- unittests/IR/VerifierTest.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.50.1