llvm-ar: Pad the symbol table to 4 bytes.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 9 Jul 2015 19:48:06 +0000 (19:48 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 9 Jul 2015 19:48:06 +0000 (19:48 +0000)
commit7255090cd339bc93902b5f28fa73eb2d5556de64
tree9d63876591ca712a558bfe880b839f14b8c42119
parent0685a5c5ed1916e9ff4ead6d36c73f7eb4c318c0
llvm-ar: Pad the symbol table to 4 bytes.

It looks like ld64 requires it. With this we seem to be able to bootstrap using
llvm-ar+/usr/bin/true instead of ar+ranlib (currently on stage2).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241842 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Object/ArchiveWriter.cpp
test/Object/archive-symtab.test