[Object] Split the ELF interface into 3 parts.
authorMichael J. Spencer <bigcheesegs@gmail.com>
Thu, 8 Aug 2013 22:27:13 +0000 (22:27 +0000)
committerMichael J. Spencer <bigcheesegs@gmail.com>
Thu, 8 Aug 2013 22:27:13 +0000 (22:27 +0000)
commit081a1941b595f6294e4ce678fd61ef56a2ceb51e
tree45ac82225774a2894de7e3e4c4a83e5cf2d90dd5
parent491d04969d9f29ed891c73238648853954ba4f81
[Object] Split the ELF interface into 3 parts.

* ELFTypes.h contains template magic for defining types based on endianess, size, and alignment.
* ELFFile.h defines the ELFFile class which provides low level ELF specific access.
* ELFObjectFile.h contains ELFObjectFile which uses ELFFile to implement the ObjectFile interface.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188022 91177308-0d34-0410-b5e6-96231b3b80d8
17 files changed:
include/llvm/Object/ELF.h
include/llvm/Object/ELFObjectFile.h [new file with mode: 0644]
include/llvm/Object/ELFTypes.h [new file with mode: 0644]
include/llvm/Object/RelocVisitor.h
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
lib/MC/MCObjectSymbolizer.cpp
lib/Object/CMakeLists.txt
lib/Object/ELF.cpp [new file with mode: 0644]
lib/Object/ELFObjectFile.cpp
lib/Target/X86/MCTargetDesc/X86ELFRelocationInfo.cpp
test/Object/Inputs/corrupt-version.elf-x86_64 [new file with mode: 0644]
test/Object/Inputs/corrupt.elf-x86-64 [new file with mode: 0644]
test/Object/corrupt.test [new file with mode: 0644]
tools/llvm-objdump/ELFDump.cpp
tools/llvm-readobj/ELFDumper.cpp
tools/llvm-readobj/llvm-readobj.cpp
tools/yaml2obj/yaml2elf.cpp