llvm/tools
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
..
bugpoint Return a std::unique_ptr from the IRReader.h functions. NFC. 2014-08-26 17:29:46 +00:00
bugpoint-passes [CMake] Add LLVM_LINK_COMPONENTS to loadable modules, LLVMHello and BugpointPasses, on Win32. 2014-07-13 13:36:48 +00:00
gold Handle common linkage correctly in the gold plugin. 2014-09-09 20:08:22 +00:00
llc Use StringRef to avoid copies and simplify code. 2014-08-30 16:48:22 +00:00
lli Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00
llvm-ar Don't own the buffer in object::Binary. 2014-08-19 18:44:46 +00:00
llvm-as Modernize raw_fd_ostream's constructor a bit. 2014-08-25 18:16:47 +00:00
llvm-bcanalyzer Teach llvm-bcanalyzer to use one stream's BLOCKINFO to read another stream. 2014-08-30 17:07:55 +00:00
llvm-c-test Convert getFileOffset to getOffset and move it to its only user. 2014-04-21 13:45:32 +00:00
llvm-config Enabling LLVM & Clang to be cross-compiled using CMake from a single configuration command line 2014-09-03 23:21:18 +00:00
llvm-cov llvm-cov: Fix a misuse of ArrayRef::slice I introduced in r217430 2014-09-10 06:06:07 +00:00
llvm-diff Return a std::unique_ptr from the IRReader.h functions. NFC. 2014-08-26 17:29:46 +00:00
llvm-dis Modernize raw_fd_ostream's constructor a bit. 2014-08-25 18:16:47 +00:00
llvm-dwarfdump Fix some cases where StringRef was being passed by const reference. Remove const from some other StringRefs since its implicitly const already. 2014-08-30 16:48:02 +00:00
llvm-extract Return a std::unique_ptr from the IRReader.h functions. NFC. 2014-08-26 17:29:46 +00:00
llvm-jitlistener Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00
llvm-link Invert the condition to have a single return. 2014-08-26 18:03:35 +00:00
llvm-lto Modernize raw_fd_ostream's constructor a bit. 2014-08-25 18:16:47 +00:00
llvm-mc Modernize raw_fd_ostream's constructor a bit. 2014-08-25 18:16:47 +00:00
llvm-mcmarkup Explicitly pass ownership of the MemoryBuffer to AddNewSourceBuffer using std::unique_ptr 2014-08-21 20:44:56 +00:00
llvm-nm Object: Add support for bigobj 2014-09-10 12:51:52 +00:00
llvm-objdump Object: Add support for bigobj 2014-09-10 12:51:52 +00:00
llvm-profdata Modernize raw_fd_ostream's constructor a bit. 2014-08-25 18:16:47 +00:00
llvm-readobj Object: Add support for bigobj 2014-09-10 12:51:52 +00:00
llvm-rtdyld [MCJIT] Add command-line argument to llvm-rtdyld to specify target addresses for 2014-09-04 04:19:54 +00:00
llvm-shlib Revert of 214418: 2014-08-01 06:16:03 +00:00
llvm-size Don't own the buffer in object::Binary. 2014-08-19 18:44:46 +00:00
llvm-stress Modernize raw_fd_ostream's constructor a bit. 2014-08-25 18:16:47 +00:00
llvm-symbolizer Follow-up for r217020: actually commit the fix for PR20800, 2014-09-03 07:37:20 +00:00
llvm-vtabledump Don't own the buffer in object::Binary. 2014-08-19 18:44:46 +00:00
lto Remove lto_codegen_set_attr. 2014-08-01 14:57:05 +00:00
macho-dump 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
msbuild msbuild integration: remove duplicated lines and BOM from 2014 integration (PR20341) 2014-07-31 20:33:22 +00:00
obj2yaml Object: Add support for bigobj 2014-09-10 12:51:52 +00:00
opt Return a std::unique_ptr from the IRReader.h functions. NFC. 2014-08-26 17:29:46 +00:00
verify-uselistorder Pass a MemoryBufferRef when we can avoid taking ownership. 2014-08-26 21:49:01 +00:00
yaml2obj Modernize raw_fd_ostream's constructor a bit. 2014-08-25 18:16:47 +00:00
CMakeLists.txt Rename llvm-uselistorder => verify-uselistorder 2014-07-30 17:11:27 +00:00
LLVMBuild.txt Rename llvm-uselistorder => verify-uselistorder 2014-07-30 17:11:27 +00:00
Makefile Rename llvm-uselistorder => verify-uselistorder 2014-07-30 17:11:27 +00:00