diff options
author | Lang Hames <lhames@gmail.com> | 2018-03-28 14:47:11 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2018-03-28 14:47:11 +0000 |
commit | ec978e22261c7652c7629c7a56f4057c81239623 (patch) | |
tree | 6aecb19d2019aee00d29bc39345cedaadb7915cd /llvm/unittests/ExecutionEngine | |
parent | 34f8a7043badc630221606f21058a082acde3644 (diff) | |
download | bcm5719-llvm-ec978e22261c7652c7629c7a56f4057c81239623.tar.gz bcm5719-llvm-ec978e22261c7652c7629c7a56f4057c81239623.zip |
[ORC] Re-add the Windows check that was dropped in r328687.
This check prevents the ORC execution tests from running on Windows (which is
not supported yet).
This should fix the windows bots.
llvm-svn: 328706
Diffstat (limited to 'llvm/unittests/ExecutionEngine')
-rw-r--r-- | llvm/unittests/ExecutionEngine/Orc/OrcTestCommon.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/unittests/ExecutionEngine/Orc/OrcTestCommon.h b/llvm/unittests/ExecutionEngine/Orc/OrcTestCommon.h index 108e2755738..53fede18b13 100644 --- a/llvm/unittests/ExecutionEngine/Orc/OrcTestCommon.h +++ b/llvm/unittests/ExecutionEngine/Orc/OrcTestCommon.h @@ -61,6 +61,10 @@ public: // If we found a TargetMachine, check that it's one that Orc supports. const Triple& TT = TM->getTargetTriple(); + // Bail out for windows platforms. We do not support these yet. + if (TT.isOSWindows()) + return; + // Target can JIT? SupportsJIT = TM->getTarget().hasJIT(); // Use ability to create callback manager to detect whether Orc |