diff options
Diffstat (limited to 'include/llvm/Target/TargetJITInfo.h')
-rw-r--r-- | include/llvm/Target/TargetJITInfo.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetJITInfo.h b/include/llvm/Target/TargetJITInfo.h index 1d06cd790d..ff7dc0bcf7 100644 --- a/include/llvm/Target/TargetJITInfo.h +++ b/include/llvm/Target/TargetJITInfo.h @@ -56,6 +56,14 @@ namespace llvm { assert(0 && "This target doesn't implement emitFunctionStub!"); return 0; } + + /// emitFunctionStubAtAddr - Use the specified MachineCodeEmitter object to + /// emit a small native function that simply calls Fn. Emit the stub into + /// the supplied buffer. + virtual void emitFunctionStubAtAddr(const Function* F, void *Fn, + void *Buffer, MachineCodeEmitter &MCE) { + assert(0 && "This target doesn't implement emitFunctionStubAtAddr!"); + } /// getPICJumpTableEntry - Returns the value of the jumptable entry for the /// specific basic block. |