diff options
author | Richard Sandiford <rsandifo@linux.vnet.ibm.com> | 2013-05-03 14:15:35 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@linux.vnet.ibm.com> | 2013-05-03 14:15:35 +0000 |
commit | 6fc2ad62e23673ef829c9c4bbf62743d30928a5b (patch) | |
tree | 5d02f72b50273a8b69b172ca35b9e9db79e203d2 /lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h | |
parent | 3ea50a69d75a541624a04ce957cc9eef3de639fc (diff) | |
download | llvm-6fc2ad62e23673ef829c9c4bbf62743d30928a5b.tar.gz llvm-6fc2ad62e23673ef829c9c4bbf62743d30928a5b.tar.bz2 llvm-6fc2ad62e23673ef829c9c4bbf62743d30928a5b.tar.xz |
[SystemZ] Add MCJIT support
Another step towards reinstating the SystemZ backend. I'll commit
the configure changes separately (TARGET_HAS_JIT etc.), then commit
a patch to enable the MCJIT tests on SystemZ.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181015 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h')
-rw-r--r-- | lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h b/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h index 51873b1f4b..9d767a067c 100644 --- a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h +++ b/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h @@ -172,10 +172,19 @@ protected: return 16; else if (Arch == Triple::ppc64) return 44; + else if (Arch == Triple::systemz) + return 16; else return 0; } + inline unsigned getStubAlignment() { + if (Arch == Triple::systemz) + return 8; + else + return 1; + } + bool HasError; std::string ErrorStr; |