llvm-6502/tools/llvm-objdump
David Majnemer f1198da05c MC: Add support for BigObj
Teach WinCOFFObjectWriter how to write -mbig-obj style object files;
these object files allow for more sections inside an object file.

Our support for BigObj is notably different from binutils and cl: we
implicitly upgrade object files to BigObj instead of asking the user to
compile the same file *again* but with another flag.  This matches up
with how LLVM treats ELF variants.

This was tested by forcing LLVM to always emit BigObj files and running
the entire test suite.  A specific test has also been added.

I've lowered the maximum number of sections in a normal COFF file,
VS "14" CTP 3 supports no more than 65279 sections.  This is important
otherwise we might not switch to BigObj quickly enough, leaving us with
a COFF file that we couldn't link.

yaml2obj support is all that remains to implement.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217812 91177308-0d34-0410-b5e6-96231b3b80d8
2014-09-15 19:42:42 +00:00
..
CMakeLists.txt Nuke MCAnalysis. 2014-09-02 22:32:20 +00:00
COFFDump.cpp Object: Add support for bigobj 2014-09-10 12:51:52 +00:00
ELFDump.cpp [Object] Split the ELF interface into 3 parts. 2013-08-08 22:27:13 +00:00
llvm-objdump.cpp MC: Add support for BigObj 2014-09-15 19:42:42 +00:00
llvm-objdump.h [llvm-objdump] support -rebase option for mach-o to dump rebasing info 2014-09-12 21:34:15 +00:00
LLVMBuild.txt Nuke MCAnalysis. 2014-09-02 22:32:20 +00:00
MachODump.cpp [llvm-objdump] Use PRIX64 with format() 2014-09-13 00:18:40 +00:00
Makefile Nuke MCAnalysis. 2014-09-02 22:32:20 +00:00