[llvm] r328706 - [ORC] Re-add the Windows check that was dropped in r328687.

Lang Hames via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 28 07:47:11 PDT 2018


Author: lhames
Date: Wed Mar 28 07:47:11 2018
New Revision: 328706

URL: http://llvm.org/viewvc/llvm-project?rev=328706&view=rev
Log:
[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.

Modified:
    llvm/trunk/unittests/ExecutionEngine/Orc/OrcTestCommon.h

Modified: llvm/trunk/unittests/ExecutionEngine/Orc/OrcTestCommon.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/ExecutionEngine/Orc/OrcTestCommon.h?rev=328706&r1=328705&r2=328706&view=diff
==============================================================================
--- llvm/trunk/unittests/ExecutionEngine/Orc/OrcTestCommon.h (original)
+++ llvm/trunk/unittests/ExecutionEngine/Orc/OrcTestCommon.h Wed Mar 28 07:47:11 2018
@@ -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




More information about the llvm-commits mailing list