diff options
author | Danil Malyshev <dmalyshev@accesssoftek.com> | 2012-03-21 19:13:08 +0000 |
---|---|---|
committer | Danil Malyshev <dmalyshev@accesssoftek.com> | 2012-03-21 19:13:08 +0000 |
commit | 25753cd972c48b78b5a31444e2028642ff5e74ba (patch) | |
tree | 7075a5eb11036077ea62e0d07201550bfe78481a /llvm/lib | |
parent | 6bb72d12db35dc0660aab6e246e30bbfcbb7df84 (diff) | |
download | bcm5719-llvm-25753cd972c48b78b5a31444e2028642ff5e74ba.tar.gz bcm5719-llvm-25753cd972c48b78b5a31444e2028642ff5e74ba.zip |
(no commit message)
llvm-svn: 153208
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/ExecutionEngine/MCJIT/MCJITMemoryManager.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/ExecutionEngine/MCJIT/MCJITMemoryManager.h b/llvm/lib/ExecutionEngine/MCJIT/MCJITMemoryManager.h index ac8c15579ef..9ff6811c4b7 100644 --- a/llvm/lib/ExecutionEngine/MCJIT/MCJITMemoryManager.h +++ b/llvm/lib/ExecutionEngine/MCJIT/MCJITMemoryManager.h @@ -41,6 +41,11 @@ public: return JMM->allocateCodeSection(Size, Alignment, SectionID); } + virtual void *getPointerToNamedFunction(const std::string &Name, + bool AbortOnFailure = true) { + return JMM->getPointerToNamedFunction(Name, AbortOnFailure); + } + // Allocate ActualSize bytes, or more, for the named function. Return // a pointer to the allocated memory and update Size to reflect how much // memory was acutally allocated. |