diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-01-04 10:46:51 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-01-04 10:46:51 +0000 |
commit | 28e7e1600d34cfcb3ff28bafa7ff030b4a2b4a99 (patch) | |
tree | f7d4aff605c112d72392dd096356c1b12e72ce62 /lib/Target/X86/X86JITInfo.h | |
parent | 9e4fedc9505c50322edb9262516dde7feb2d4a95 (diff) | |
download | external_llvm-28e7e1600d34cfcb3ff28bafa7ff030b4a2b4a99.zip external_llvm-28e7e1600d34cfcb3ff28bafa7ff030b4a2b4a99.tar.gz external_llvm-28e7e1600d34cfcb3ff28bafa7ff030b4a2b4a99.tar.bz2 |
X86 PIC JIT support fixes: encoding bugs, add lazy pointer stubs support.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45575 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86JITInfo.h')
-rw-r--r-- | lib/Target/X86/X86JITInfo.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/X86/X86JITInfo.h b/lib/Target/X86/X86JITInfo.h index af5016d..f163904 100644 --- a/lib/Target/X86/X86JITInfo.h +++ b/lib/Target/X86/X86JITInfo.h @@ -31,6 +31,10 @@ namespace llvm { /// virtual void replaceMachineCodeForFunction(void *Old, void *New); + /// emitGlobalValueLazyPtr - Use the specified MachineCodeEmitter object to + /// emit a lazy pointer which contains the address of the specified GV. + virtual void *emitGlobalValueLazyPtr(void *GV, MachineCodeEmitter &MCE); + /// emitFunctionStub - Use the specified MachineCodeEmitter object to emit a /// small native function that simply calls the function at the specified /// address. |