Start adding support for writing archives in BSD format.
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 8 Jul 2015 20:47:32 +0000 (20:47 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 8 Jul 2015 20:47:32 +0000 (20:47 +0000)
commitb13e877e27d6b85f598a8a95b746acafcfb26710
treecebc03b3320c5d3ce59ae9214c14c57178d04a25
parent31512fe6ce3b748e5ad5ebd3bd9a6b648621eb52
Start adding support for writing archives in BSD format.

No support for the symbol table yet (but will hopefully add it today).
We always use the long filename format so that we can align the member,
which is an advantage of the BSD format.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241721 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Object/ArchiveWriter.h
lib/LibDriver/LibDriver.cpp
lib/Object/ArchiveWriter.cpp
test/Object/archive-format.test
tools/llvm-ar/llvm-ar.cpp