[llvm] r258034 - [Orc] Revert r258031 - it broke the builders.

Lang Hames via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 17 17:51:51 PST 2016


Author: lhames
Date: Sun Jan 17 19:51:51 2016
New Revision: 258034

URL: http://llvm.org/viewvc/llvm-project?rev=258034&view=rev
Log:
[Orc] Revert r258031 - it broke the builders.

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=258034&r1=258033&r2=258034&view=diff
==============================================================================
--- llvm/trunk/unittests/ExecutionEngine/Orc/OrcTestCommon.h (original)
+++ llvm/trunk/unittests/ExecutionEngine/Orc/OrcTestCommon.h Sun Jan 17 19:51:51 2016
@@ -46,7 +46,7 @@ public:
     if (TM) {
       // If we found a TargetMachine, check that it's one that Orc supports.
       const Triple& TT = TM->getTargetTriple();
-      if (TT.getArch() != Triple::x86_64 || TT.isOSWindows())
+      if (TT.getArch() != Triple::x86_64 || !TT.isOSDarwin())
         TM = nullptr;
     }
   };




More information about the llvm-commits mailing list