[llvm] r251484 - [Orc] Disable Orc C API unit tests on non-Darwin while I investigate more

Lang Hames via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 27 20:12:51 PDT 2015


Author: lhames
Date: Tue Oct 27 22:12:51 2015
New Revision: 251484

URL: http://llvm.org/viewvc/llvm-project?rev=251484&view=rev
Log:
[Orc] Disable Orc C API unit tests on non-Darwin while I investigate more
builder failures.

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=251484&r1=251483&r2=251484&view=diff
==============================================================================
--- llvm/trunk/unittests/ExecutionEngine/Orc/OrcTestCommon.h (original)
+++ llvm/trunk/unittests/ExecutionEngine/Orc/OrcTestCommon.h Tue Oct 27 22:12:51 2015
@@ -46,7 +46,7 @@ public:
 
     const Triple& TT = TM->getTargetTriple();
 
-    if (TT.getArch() == Triple::x86_64)
+    if (TT.getArch() == Triple::x86_64 && TT.isOSDarwin())
       return std::move(TM);
 
     return nullptr;




More information about the llvm-commits mailing list