summaryrefslogtreecommitdiff
path: root/lib/ExecutionEngine/RuntimeDyld/JITRegistrar.h
diff options
context:
space:
mode:
authorAndrew Kaylor <andrew.kaylor@intel.com>2012-10-02 21:18:39 +0000
committerAndrew Kaylor <andrew.kaylor@intel.com>2012-10-02 21:18:39 +0000
commit3f23cef24fc9200def464bd4bce820678b5715de (patch)
tree9d7bd6501c9cda8d5e32fff4b4c8359b66173c77 /lib/ExecutionEngine/RuntimeDyld/JITRegistrar.h
parent9fd304672cec6cd31b1978408a0a0dc375f96969 (diff)
downloadllvm-3f23cef24fc9200def464bd4bce820678b5715de.tar.gz
llvm-3f23cef24fc9200def464bd4bce820678b5715de.tar.bz2
llvm-3f23cef24fc9200def464bd4bce820678b5715de.tar.xz
Clean-up of memory buffer and object ownership model in MCJIT
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165053 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/RuntimeDyld/JITRegistrar.h')
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/JITRegistrar.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/ExecutionEngine/RuntimeDyld/JITRegistrar.h b/lib/ExecutionEngine/RuntimeDyld/JITRegistrar.h
index f964bc6182..69e9dbe490 100644
--- a/lib/ExecutionEngine/RuntimeDyld/JITRegistrar.h
+++ b/lib/ExecutionEngine/RuntimeDyld/JITRegistrar.h
@@ -10,7 +10,7 @@
#ifndef LLVM_EXECUTION_ENGINE_JIT_REGISTRAR_H
#define LLVM_EXECUTION_ENGINE_JIT_REGISTRAR_H
-#include "llvm/Support/MemoryBuffer.h"
+#include "llvm/ExecutionEngine/ObjectBuffer.h"
namespace llvm {
@@ -27,12 +27,12 @@ public:
/// Creates an entry in the JIT registry for the buffer @p Object,
/// which must contain an object file in executable memory with any
/// debug information for the debugger.
- virtual void registerObject(const MemoryBuffer &Object) = 0;
+ virtual void registerObject(const ObjectBuffer &Object) = 0;
/// Removes the internal registration of @p Object, and
/// frees associated resources.
/// Returns true if @p Object was previously registered.
- virtual bool deregisterObject(const MemoryBuffer &Object) = 0;
+ virtual bool deregisterObject(const ObjectBuffer &Object) = 0;
/// Returns a reference to a GDB JIT registrar singleton
static JITRegistrar& getGDBRegistrar();