diff --git a/llvm/unittests/ExecutionEngine/Orc/ReOptimizeLayerTest.cpp b/llvm/unittests/ExecutionEngine/Orc/ReOptimizeLayerTest.cpp index 4f0850022cf1..8fb8d6935005 100644 --- a/llvm/unittests/ExecutionEngine/Orc/ReOptimizeLayerTest.cpp +++ b/llvm/unittests/ExecutionEngine/Orc/ReOptimizeLayerTest.cpp @@ -43,6 +43,14 @@ class ReOptimizeLayerTest : public testing::Test { if (Triple.isOSBinFormatCOFF() && Triple.isAArch64()) GTEST_SKIP(); + // Failing on Windows builder. + // JIT session error: Symbols not found: [ __ImageBase ] + // unknown file: error: SEH exception with code 0x3221225477 thrown in the test body. +#if defined(_WIN32) + if (Triple.isX86()) + GTEST_SKIP(); +#endif + if (Triple.isPPC()) GTEST_SKIP();