summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/MCJIT/MCJIT.h
diff options
context:
space:
mode:
authorDanil Malyshev <dmalyshev@accesssoftek.com>2012-03-21 18:26:47 +0000
committerDanil Malyshev <dmalyshev@accesssoftek.com>2012-03-21 18:26:47 +0000
commit02fc6e86a649f23aff8893b0c06009b6beb3df74 (patch)
tree1bb03c61748e49e7004f63fcab7768843eb74ee2 /llvm/lib/ExecutionEngine/MCJIT/MCJIT.h
parent907c233591bbdec10e9dec6be43f57378dff9c70 (diff)
downloadbcm5719-llvm-02fc6e86a649f23aff8893b0c06009b6beb3df74.tar.gz
bcm5719-llvm-02fc6e86a649f23aff8893b0c06009b6beb3df74.zip
Based on this discussion: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20120305/138477.html
1. Declare a virtual function getPointerToNamedFunction() in JITMemoryManager 2. Move the implementation of getPointerToNamedFunction() form JIT/MCJIT to DefaultJITMemoryManager. llvm-svn: 153205
Diffstat (limited to 'llvm/lib/ExecutionEngine/MCJIT/MCJIT.h')
-rw-r--r--llvm/lib/ExecutionEngine/MCJIT/MCJIT.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/ExecutionEngine/MCJIT/MCJIT.h b/llvm/lib/ExecutionEngine/MCJIT/MCJIT.h
index 7f4ae77343d..2b3df9884eb 100644
--- a/llvm/lib/ExecutionEngine/MCJIT/MCJIT.h
+++ b/llvm/lib/ExecutionEngine/MCJIT/MCJIT.h
@@ -67,6 +67,7 @@ public:
///
virtual void *getPointerToNamedFunction(const std::string &Name,
bool AbortOnFailure = true);
+
/// 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.
OpenPOWER on IntegriCloud