[llvm] r258358 - [Orc] Try to turn Orc execution unit tests back on for Linux.
Lang Hames via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 20 14:16:14 PST 2016
Author: lhames
Date: Wed Jan 20 16:16:14 2016
New Revision: 258358
URL: http://llvm.org/viewvc/llvm-project?rev=258358&view=rev
Log:
[Orc] Try to turn Orc execution unit tests back on for Linux.
The fix in r258324 (plus r258354) should allow Orc execution tests to run on
Linux.
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=258358&r1=258357&r2=258358&view=diff
==============================================================================
--- llvm/trunk/unittests/ExecutionEngine/Orc/OrcTestCommon.h (original)
+++ llvm/trunk/unittests/ExecutionEngine/Orc/OrcTestCommon.h Wed Jan 20 16:16:14 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.isOSDarwin())
+ if (TT.getArch() != Triple::x86_64 || TT.isOSWindows())
TM = nullptr;
}
};
More information about the llvm-commits
mailing list