Skip to content

Commit 134430d

Browse files
committed
Disable this unit test on MSVC, which crashes while compiling it.
llvm-svn: 268985
1 parent 2c9bdd0 commit 134430d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

llvm/unittests/IR/VerifierTest.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,8 @@ TEST(VerifierTest, CrossModuleMetadataRef) {
145145
.startswith("Referencing global in another module!"));
146146
}
147147

148+
#ifndef _MSC_VER
149+
// FIXME: This test causes an ICE in MSVC 2013.
148150
TEST(VerifierTest, StripInvalidDebugInfo) {
149151
LLVMContext C;
150152
Module M("M", C);
@@ -167,7 +169,7 @@ TEST(VerifierTest, StripInvalidDebugInfo) {
167169
MPM.run(M, MAM);
168170
EXPECT_FALSE(verifyModule(M));
169171
}
170-
172+
#endif
171173

172174
} // end anonymous namespace
173175
} // end namespace llvm

0 commit comments

Comments
 (0)