diff options
author | Eli Bendersky <eli.bendersky@intel.com> | 2012-02-12 06:12:10 +0000 |
---|---|---|
committer | Eli Bendersky <eli.bendersky@intel.com> | 2012-02-12 06:12:10 +0000 |
commit | f4eff4baeb44f9dee988e9293d029dcaa359420d (patch) | |
tree | 422db961abf4abd4d141b5d8590f7a0f95efa2ae /include/llvm/Object/ObjectFile.h | |
parent | 132bd9ce56e1f6d0231c34acec738a8bc92c9cfa (diff) |
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.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/Object/ObjectFile.h b/include/llvm/Object/ObjectFile.h index e38c8c88f9..3a4052abdb 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); }; |