diff options
author | Adrian Prantl <aprantl@apple.com> | 2016-05-09 22:59:55 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2016-05-09 22:59:55 +0000 |
commit | 134430dc52c3cc4fabd45dd82a344292e1869e44 (patch) | |
tree | 236474cab58392421f5a8ef410d7629b17727b53 /llvm/unittests/IR/VerifierTest.cpp | |
parent | 2c9bdd0d3d0fba574773a6428fdf73544b0e2aea (diff) | |
download | llvm-134430dc52c3cc4fabd45dd82a344292e1869e44.zip llvm-134430dc52c3cc4fabd45dd82a344292e1869e44.tar.gz llvm-134430dc52c3cc4fabd45dd82a344292e1869e44.tar.bz2 |
Disable this unit test on MSVC, which crashes while compiling it.
llvm-svn: 268985
Diffstat (limited to 'llvm/unittests/IR/VerifierTest.cpp')
-rw-r--r-- | llvm/unittests/IR/VerifierTest.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/unittests/IR/VerifierTest.cpp b/llvm/unittests/IR/VerifierTest.cpp index 1fc50da..8f28382 100644 --- a/llvm/unittests/IR/VerifierTest.cpp +++ b/llvm/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 |