mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-15 05:24:01 +00:00
ExecutionEngine interface to re-map addresses for engines that support it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148264 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -239,6 +239,14 @@ public:
|
||||
virtual void *getPointerToNamedFunction(const std::string &Name,
|
||||
bool AbortOnFailure = true) = 0;
|
||||
|
||||
/// mapSectionAddress - map a section to its target address space value.
|
||||
/// Map the address of a JIT section as returned from the memory manager
|
||||
/// to the address in the target process as the running code will see it.
|
||||
/// This is the address which will be used for relocation resolution.
|
||||
virtual void mapSectionAddress(void *LocalAddress, uint64_t TargetAddress) {
|
||||
assert(0 && "Re-mapping of section addresses not supported with this EE!");
|
||||
}
|
||||
|
||||
/// runStaticConstructorsDestructors - This method is used to execute all of
|
||||
/// the static constructors or destructors for a program.
|
||||
///
|
||||
|
Reference in New Issue
Block a user