summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2013-12-07 04:25:19 +0000
committerLang Hames <lhames@gmail.com>2013-12-07 04:25:19 +0000
commita49701db7d54967aea8a511743fedcfb9b056eea (patch)
treedab70cd2963ff5ea01065de2243e1ed0b2363c03 /include
parentd4ef813fd5efc03775fea5694b06c126e429de2d (diff)
downloadllvm-a49701db7d54967aea8a511743fedcfb9b056eea.tar.gz
llvm-a49701db7d54967aea8a511743fedcfb9b056eea.tar.bz2
llvm-a49701db7d54967aea8a511743fedcfb9b056eea.tar.xz
Revert r196639 while I investigate a bot failure.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196641 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/ExecutionEngine/ExecutionEngine.h32
-rw-r--r--include/llvm/ExecutionEngine/RuntimeDyld.h10
2 files changed, 0 insertions, 42 deletions
diff --git a/include/llvm/ExecutionEngine/ExecutionEngine.h b/include/llvm/ExecutionEngine/ExecutionEngine.h
index ad1a83f95b..233084dd50 100644
--- a/include/llvm/ExecutionEngine/ExecutionEngine.h
+++ b/include/llvm/ExecutionEngine/ExecutionEngine.h
@@ -48,11 +48,6 @@ class RTDyldMemoryManager;
class Triple;
class Type;
-namespace object {
- class Archive;
- class ObjectFile;
-}
-
/// \brief Helper class for helping synchronize access to the global address map
/// table.
class ExecutionEngineState {
@@ -209,33 +204,6 @@ public:
Modules.push_back(M);
}
- /// addObjectFile - Add an ObjectFile to the execution engine.
- ///
- /// This method is only supported by MCJIT. MCJIT will immediately load the
- /// object into memory and adds its symbols to the list used to resolve
- /// external symbols while preparing other objects for execution.
- ///
- /// Objects added using this function will not be made executable until
- /// needed by another object.
- ///
- /// MCJIT will take ownership of the ObjectFile.
- virtual void addObjectFile(object::ObjectFile *O) {
- llvm_unreachable(
- "ExecutionEngine subclass doesn't implement addObjectFile.");
- }
-
- /// addArchive - Add an Archive to the execution engine.
- ///
- /// This method is only supported by MCJIT. MCJIT will use the archive to
- /// resolve external symbols in objects it is loading. If a symbol is found
- /// in the Archive the contained object file will be extracted (in memory)
- /// and loaded for possible execution.
- ///
- /// MCJIT will take ownership of the Archive.
- virtual void addArchive(object::Archive *A) {
- llvm_unreachable("ExecutionEngine subclass doesn't implement addArchive.");
- }
-
//===--------------------------------------------------------------------===//
const DataLayout *getDataLayout() const { return TD; }
diff --git a/include/llvm/ExecutionEngine/RuntimeDyld.h b/include/llvm/ExecutionEngine/RuntimeDyld.h
index fd9f338669..b8324387bb 100644
--- a/include/llvm/ExecutionEngine/RuntimeDyld.h
+++ b/include/llvm/ExecutionEngine/RuntimeDyld.h
@@ -21,10 +21,6 @@
namespace llvm {
-namespace object {
- class ObjectFile;
-}
-
class RuntimeDyldImpl;
class ObjectImage;
@@ -50,12 +46,6 @@ public:
/// failure, the input buffer will be deleted.
ObjectImage *loadObject(ObjectBuffer *InputBuffer);
- /// Prepare the referenced object file for execution.
- /// Ownership of the input object is transferred to the ObjectImage
- /// instance returned from this function if successful. In the case of load
- /// failure, the input object will be deleted.
- ObjectImage *loadObject(object::ObjectFile *InputObject);
-
/// Get the address of our local copy of the symbol. This may or may not
/// be the address used for relocation (clients can copy the data around
/// and resolve relocatons based on where they put it).