mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-10 22:43:46 +00: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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@258031 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5ee0210144
commit
085a36e4cc
@ -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;
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user