Add r184420 back, but also handle long file names.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 20 Jun 2013 13:41:51 +0000 (13:41 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 20 Jun 2013 13:41:51 +0000 (13:41 +0000)
commit122c57c0b82d125f33d2f036a67e96339e95c402
tree1eb1e60847829feff616f74586ea83f2181c8865
parent9d39cb1d6418c5a25fa74f09e593794a4c8fd4b6
Add r184420 back, but also handle long file names.

Original message:

Don't include directory names in archives.

This matches the behavior of both gnu and os x versions of ar.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184423 91177308-0d34-0410-b5e6-96231b3b80d8
test/Archive/directory.ll
tools/llvm-ar/Archive.cpp
tools/llvm-ar/Archive.h
tools/llvm-ar/ArchiveWriter.cpp
tools/llvm-ar/llvm-ar.cpp