1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00

[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.

llvm-svn: 258031
This commit is contained in:
Lang Hames 2016-01-18 00:47:25 +00:00
parent 1a36d26015
commit c96132f0d0

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