llvm-6502/lib
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
..
Analysis TargetTransformInfo: address calculation parameter for gather/scather 2013-07-12 19:16:02 +00:00
AsmParser Target/X86: Add explicit Win64 and System V/x86-64 calling conventions. 2013-07-12 06:02:35 +00:00
Bitcode Use SmallVectorImpl& instead of SmallVector to avoid repeating small vector size. 2013-07-11 16:22:38 +00:00
CodeGen TargetTransformInfo: address calculation parameter for gather/scather 2013-07-12 19:16:02 +00:00
DebugInfo
ExecutionEngine Use SmallVectorImpl::iterator/const_iterator instead of SmallVector to avoid specifying the vector size. 2013-07-04 01:31:24 +00:00
IR Target/X86: Add explicit Win64 and System V/x86-64 calling conventions. 2013-07-12 06:02:35 +00:00
IRReader
Linker
MC Put ELF COMDAT relocations into the relevant COMDAT group. 2013-07-10 20:58:17 +00:00
Object Change llvm-ar to use lib/Object. 2013-07-12 20:21:39 +00:00
Option Fix a crash bug in dumping options with groups 2013-06-26 22:43:37 +00:00
Support Windows/TimeValue.inc: Mute prefixed '0' on %d to emulate %e. 2013-07-12 02:13:03 +00:00
TableGen
Target R600: Remove unsafe type punning. No intended functionality change. 2013-07-12 20:18:05 +00:00
Transforms TargetTransformInfo: address calculation parameter for gather/scather 2013-07-12 19:16:02 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile