llvm-6502/include/llvm/Object
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
..
Archive.h Don't own the buffer in object::Binary. 2014-08-19 18:44:46 +00:00
Binary.h fix the gcc build 2014-08-19 20:06:25 +00:00
COFF.h MC: Add support for BigObj 2014-09-15 19:42:42 +00:00
COFFYAML.h Invert the MC -> Object dependency. 2014-07-03 02:01:39 +00:00
ELF.h Simplify creation of a bunch of ArrayRefs by using None, makeArrayRef or just letting them be implicitly created. 2014-08-27 05:25:25 +00:00
ELFObjectFile.h Don't own the buffer in object::Binary. 2014-08-19 18:44:46 +00:00
ELFTypes.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
ELFYAML.h Invert the MC -> Object dependency. 2014-07-03 02:01:39 +00:00
Error.h Don't use 'using std::error_code' in include/llvm. 2014-06-12 21:46:39 +00:00
IRObjectFile.h unique_ptrify IRObjectFile::createIRObjectFile 2014-09-03 17:59:23 +00:00
MachO.h [llvm-objdump] support -rebase option for mach-o to dump rebasing info 2014-09-12 21:34:15 +00:00
MachOUniversal.h unique_ptrify MachOUniversalBinary::create 2014-09-03 17:41:05 +00:00
ObjectFile.h Don't own the buffer in object::Binary. 2014-08-19 18:44:46 +00:00
RelocVisitor.h Support LE in RelocVisitor::visitELF_PPC64_* 2014-06-18 15:15:49 +00:00
SymbolicFile.h Don't own the buffer in object::Binary. 2014-08-19 18:44:46 +00:00