summaryrefslogtreecommitdiffstats
path: root/lib/ExecutionEngine/JIT/JIT.h
diff options
context:
space:
mode:
authorDanil Malyshev <dmalyshev@accesssoftek.com>2012-03-28 21:46:36 +0000
committerDanil Malyshev <dmalyshev@accesssoftek.com>2012-03-28 21:46:36 +0000
commit30b9e322e159df8eaabb5b194cec6e11ba99c261 (patch)
tree36664ec6b85c6050e280736f2c6ff2e976957aac /lib/ExecutionEngine/JIT/JIT.h
parent8f3fabe0febb7335c4349d3d6081deca95419d48 (diff)
downloadexternal_llvm-30b9e322e159df8eaabb5b194cec6e11ba99c261.zip
external_llvm-30b9e322e159df8eaabb5b194cec6e11ba99c261.tar.gz
external_llvm-30b9e322e159df8eaabb5b194cec6e11ba99c261.tar.bz2
Move getPointerToNamedFunction() from JIT/MCJIT to JITMemoryManager.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153607 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/JIT/JIT.h')
-rw-r--r--lib/ExecutionEngine/JIT/JIT.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ExecutionEngine/JIT/JIT.h b/lib/ExecutionEngine/JIT/JIT.h
index 17d33fe..2ae155b 100644
--- a/lib/ExecutionEngine/JIT/JIT.h
+++ b/lib/ExecutionEngine/JIT/JIT.h
@@ -58,6 +58,7 @@ class JIT : public ExecutionEngine {
TargetMachine &TM; // The current target we are compiling to
TargetJITInfo &TJI; // The JITInfo for the target we are compiling to
JITCodeEmitter *JCE; // JCE object
+ JITMemoryManager *JMM;
std::vector<JITEventListener*> EventListeners;
/// AllocateGVsWithCode - Some applications require that global variables and
@@ -117,7 +118,7 @@ public:
const std::vector<GenericValue> &ArgValues);
/// getPointerToNamedFunction - This method returns the address of the
- /// specified function by using the dlsym function call. As such it is only
+ /// specified function by using the MemoryManager. As such it is only
/// useful for resolving library symbols, not code generated symbols.
///
/// If AbortOnFailure is false and no function with the given name is