summaryrefslogtreecommitdiff
path: root/include/llvm/ExecutionEngine
diff options
context:
space:
mode:
authorDanil Malyshev <dmalyshev@accesssoftek.com>2012-03-21 21:06:29 +0000
committerDanil Malyshev <dmalyshev@accesssoftek.com>2012-03-21 21:06:29 +0000
commit799184d8eb140d02385501223cea0a087148b67b (patch)
treee25a1656857a048ed88e908d71cc02970555319a /include/llvm/ExecutionEngine
parentf0586f08dfd5bf1889c15849e9c603b3985fce4a (diff)
downloadllvm-799184d8eb140d02385501223cea0a087148b67b.tar.gz
llvm-799184d8eb140d02385501223cea0a087148b67b.tar.bz2
llvm-799184d8eb140d02385501223cea0a087148b67b.tar.xz
Re-factored RuntimeDyld.
Added ExecutionEngine/MCJIT tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153221 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ExecutionEngine')
-rw-r--r--include/llvm/ExecutionEngine/RuntimeDyld.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/include/llvm/ExecutionEngine/RuntimeDyld.h b/include/llvm/ExecutionEngine/RuntimeDyld.h
index 81acc08673..aabfd0341c 100644
--- a/include/llvm/ExecutionEngine/RuntimeDyld.h
+++ b/include/llvm/ExecutionEngine/RuntimeDyld.h
@@ -45,19 +45,9 @@ public:
virtual uint8_t *allocateDataSection(uintptr_t Size, unsigned Alignment,
unsigned SectionID) = 0;
- // 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.
- virtual uint8_t *startFunctionBody(const char *Name, uintptr_t &Size) = 0;
-
- // Mark the end of the function, including how much of the allocated
- // memory was actually used.
- virtual void endFunctionBody(const char *Name, uint8_t *FunctionStart,
- uint8_t *FunctionEnd) = 0;
-
-
virtual void *getPointerToNamedFunction(const std::string &Name,
bool AbortOnFailure = true) = 0;
+
};
class RuntimeDyld {