aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ExecutionEngine
diff options
context:
space:
mode:
authorDanil Malyshev <dmalyshev@accesssoftek.com>2012-03-21 19:13:08 +0000
committerDanil Malyshev <dmalyshev@accesssoftek.com>2012-03-21 19:13:08 +0000
commitb4746203986e943f3dc0af789c5dc8b34cc85db5 (patch)
tree2ee01ea93784a44d244ce3e6056d7626ee0463f9 /lib/ExecutionEngine
parent6ae599a4a13630c0ceacd1dd98a9715245ed7cbc (diff)
downloadexternal_llvm-b4746203986e943f3dc0af789c5dc8b34cc85db5.zip
external_llvm-b4746203986e943f3dc0af789c5dc8b34cc85db5.tar.gz
external_llvm-b4746203986e943f3dc0af789c5dc8b34cc85db5.tar.bz2
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153208 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine')
-rw-r--r--lib/ExecutionEngine/MCJIT/MCJITMemoryManager.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/ExecutionEngine/MCJIT/MCJITMemoryManager.h b/lib/ExecutionEngine/MCJIT/MCJITMemoryManager.h
index ac8c155..9ff6811 100644
--- a/lib/ExecutionEngine/MCJIT/MCJITMemoryManager.h
+++ b/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.