aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Object/ObjectFile.h
diff options
context:
space:
mode:
authorEli Bendersky <eli.bendersky@intel.com>2012-02-12 06:12:10 +0000
committerEli Bendersky <eli.bendersky@intel.com>2012-02-12 06:12:10 +0000
commitf4eff4baeb44f9dee988e9293d029dcaa359420d (patch)
tree422db961abf4abd4d141b5d8590f7a0f95efa2ae /include/llvm/Object/ObjectFile.h
parent132bd9ce56e1f6d0231c34acec738a8bc92c9cfa (diff)
downloadexternal_llvm-f4eff4baeb44f9dee988e9293d029dcaa359420d.zip
external_llvm-f4eff4baeb44f9dee988e9293d029dcaa359420d.tar.gz
external_llvm-f4eff4baeb44f9dee988e9293d029dcaa359420d.tar.bz2
Expose the ELFObjectFile class directly in the Object/ELF.h header, similarly
to what's done for MachO and COFF. This allows advanced uses of the class to be implemented outside the Object library. In particular, the DyldELFObject subclass is now moved into its logical home - ExecutionEngine/RuntimeDyld. This patch was reviewed by Michael Spencer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150327 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Object/ObjectFile.h')
-rw-r--r--include/llvm/Object/ObjectFile.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/Object/ObjectFile.h b/include/llvm/Object/ObjectFile.h
index e38c8c8..3a4052a 100644
--- a/include/llvm/Object/ObjectFile.h
+++ b/include/llvm/Object/ObjectFile.h
@@ -338,8 +338,7 @@ public:
public:
static ObjectFile *createCOFFObjectFile(MemoryBuffer *Object);
- static ObjectFile *createELFObjectFile(MemoryBuffer *Object,
- bool doDyld = false, std::vector<uint8_t*> *MemoryMap = 0);
+ static ObjectFile *createELFObjectFile(MemoryBuffer *Object);
static ObjectFile *createMachOObjectFile(MemoryBuffer *Object);
};