llvm-6502/lib/Object
David Majnemer b3a86a097b Object: Add support for bigobj
This adds support for reading the "bigobj" variant of COFF produced by
cl's /bigobj and mingw's -mbig-obj.

The most significant difference that bigobj brings is more than 2**16
sections to COFF.

bigobj brings a few interesting differences with it:
- It doesn't have a Characteristics field in the file header.
- It doesn't have a SizeOfOptionalHeader field in the file header (it's
  only used in executable files).
- Auxiliary symbol records have the same width as a symbol table entry.
  Since symbol table entries are bigger, so are auxiliary symbol
  records.

Write support will come soon.

Differential Revision: http://reviews.llvm.org/D5259

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217496 91177308-0d34-0410-b5e6-96231b3b80d8
2014-09-10 12:51:52 +00:00
..
Archive.cpp Don't own the buffer in object::Binary. 2014-08-19 18:44:46 +00:00
Binary.cpp unique_ptrify MachOUniversalBinary::create 2014-09-03 17:41:05 +00:00
CMakeLists.txt Add support for inline asm symbols to IRObjectFile. 2014-07-03 18:59:23 +00:00
COFFObjectFile.cpp Object: Add support for bigobj 2014-09-10 12:51:52 +00:00
COFFYAML.cpp obj2yaml: Don't crash if the characteristics field is zero 2014-04-09 16:38:15 +00:00
ELF.cpp AArch64: add support for dynamic-loader relocations 2014-08-11 10:10:27 +00:00
ELFObjectFile.cpp Don't own the buffer in object::Binary. 2014-08-19 18:44:46 +00:00
ELFYAML.cpp Add forgotten break statement. 2014-07-13 16:18:56 +00:00
Error.cpp Added forgotten noexcept. 2014-08-18 07:48:18 +00:00
IRObjectFile.cpp unique_ptrify IRObjectFile::createIRObjectFile 2014-09-03 17:59:23 +00:00
LLVMBuild.txt Object/LLVMBuild.txt: Sort required_libraries by alphabetical order. 2014-07-14 02:52:08 +00:00
MachOObjectFile.cpp Adds the next bit of support for llvm-objdump’s -private-headers for executable Mach-O files. 2014-09-04 16:54:47 +00:00
MachOUniversal.cpp unique_ptrify MachOUniversalBinary::create 2014-09-03 17:41:05 +00:00
Makefile
Object.cpp Restore the ability to check if LLVMCreateObjectFile was successful 2014-09-05 21:22:09 +00:00
ObjectFile.cpp Don't own the buffer in object::Binary. 2014-08-19 18:44:46 +00:00
RecordStreamer.cpp Make RecordStreamer.h private. 2014-07-04 22:44:18 +00:00
RecordStreamer.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
SymbolicFile.cpp unique_ptrify IRObjectFile::createIRObjectFile 2014-09-03 17:59:23 +00:00