[Orc] Enable ORC execution unit tests on non-windows platforms.

Previously these were Darwin-only. Since the switch to direct binary emission
of stubs, trampolines and resolver blocks, these should work on other *nix
platforms too.

These tests can be enabled on Windows once known issues with ORC's handling of
Windows symbol mangling (see e.g. https://llvm.org/PR25940) have been fixed.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@258031 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Lang Hames 2016-01-18 00:47:25 +00:00
parent 5ee0210144
commit 085a36e4cc

View File

@ -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;
}
};