diff options
Diffstat (limited to 'llvm/unittests/CodeGen/MachineInstrTest.cpp')
-rw-r--r-- | llvm/unittests/CodeGen/MachineInstrTest.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/unittests/CodeGen/MachineInstrTest.cpp b/llvm/unittests/CodeGen/MachineInstrTest.cpp index 71c4b8e..cb94eda 100644 --- a/llvm/unittests/CodeGen/MachineInstrTest.cpp +++ b/llvm/unittests/CodeGen/MachineInstrTest.cpp @@ -383,6 +383,9 @@ TEST(MachineInstrExtraInfo, RemoveExtraInfo) { ASSERT_FALSE(MI->getHeapAllocMarker()); } +#ifndef _WIN32 +// See discussion on https://reviews.llvm.org/D77685, this is throwing a SEH +// exception when run on a Windows bot despite being UBSan-clean. TEST(MachineInstrClone, CopyCallSiteInfo) { LLVMContext Ctx; Module Mod("Module", Ctx); @@ -402,6 +405,7 @@ TEST(MachineInstrClone, CopyCallSiteInfo) { MF->CloneMachineInstrBundle(*MBB, MBB->end(), *MI); EXPECT_EQ(MF->getCallSitesInfo().size(), 2u); } +#endif static_assert(is_trivially_copyable<MCOperand>::value, "trivially copyable"); |