llvm-6502/include/llvm/Object
Rafael Espindola 34ac52d937 Change llvm-ar to use lib/Object.
This fixes two bugs is lib/Object that the use in llvm-ar found:
* In OS X created archives, the name can be padded with nulls. Strip them.
* In the constructor, remember the first non special member and use that in
  begin_children. This makes sure we skip all special members, not just the
  first one.

The change to llvm-ar itself consist of
* Using lib/Object for reading archives instead of ArchiveReader.cpp.
* Writing the modified archive directly, instead of creating an in memory
  representation.

The old Archive library was way more general than what is needed, as can
be seen by the diffstat of this patch.

Having llvm-ar using lib/Object now opens the way for creating regular symbol
tables for both native objects and bitcode files so that we can use those
archives for LTO.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186197 91177308-0d34-0410-b5e6-96231b3b80d8
2013-07-12 20:21:39 +00:00
..
Archive.h Change llvm-ar to use lib/Object. 2013-07-12 20:21:39 +00:00
Binary.h Basic support for parsing Mach-O universal binaries in LLVMObject library 2013-06-18 15:03:28 +00:00
COFF.h readobj: Dump PE/COFF optional records. 2013-06-12 19:10:33 +00:00
COFFYAML.h Print symbol names in relocations when dumping COFF as YAML. 2013-06-06 13:06:17 +00:00
ELF.h [PowerPC] Add support for TLS data relocations 2013-07-01 23:33:29 +00:00
ELFYAML.h [yaml2obj][ELF] Make symbol table top-level key. 2013-06-22 01:38:00 +00:00
Error.h Basic support for parsing Mach-O universal binaries in LLVMObject library 2013-06-18 15:03:28 +00:00
MachO.h Basic support for parsing Mach-O universal binaries in LLVMObject library 2013-06-18 15:03:28 +00:00
MachOFormat.h Basic support for parsing Mach-O universal binaries in LLVMObject library 2013-06-18 15:03:28 +00:00
MachOUniversal.h Basic support for parsing Mach-O universal binaries in LLVMObject library 2013-06-18 15:03:28 +00:00
ObjectFile.h Handle relocations that don't point to symbols. 2013-06-05 01:33:53 +00:00
RelocVisitor.h RelocVisitor: Add another PPC64 relocation that occurs in dwarf output. 2013-06-22 13:03:15 +00:00
YAML.h Make operator== non-member for greater symmetry. 2013-06-07 18:00:04 +00:00