summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitbfee542ccedd364accd6746ff6e04a2bfb29a9ad (patch)
tree618563752ad0e8101be92e6ec8740261f324ff6f /llvm/lib/ExecutionEngine/JIT/JIT.h
parent5054ee82cc3bbdab9813b1e1b6b96b5c1c7a9e67 (diff)
downloadbcm5719-llvm-bfee542ccedd364accd6746ff6e04a2bfb29a9ad.tar.gz
bcm5719-llvm-bfee542ccedd364accd6746ff6e04a2bfb29a9ad.zip
Move getPointerToNamedFunction() from JIT/MCJIT to JITMemoryManager.
llvm-svn: 153607
Diffstat (limited to 'llvm/lib/ExecutionEngine/JIT/JIT.h')
-rw-r--r--llvm/lib/ExecutionEngine/JIT/JIT.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/JIT/JIT.h b/llvm/lib/ExecutionEngine/JIT/JIT.h
index 17d33fe8087..2ae155bebf4 100644
--- a/llvm/lib/ExecutionEngine/JIT/JIT.h
+++ b/llvm/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
OpenPOWER on IntegriCloud