Disable this unit test on MSVC, which crashes while compiling it.

llvm-svn: 268985
This commit is contained in:
Adrian Prantl 2016-05-09 22:59:55 +00:00
parent c43404ab85
commit 4a8b17b9f3

View 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