llvm-ar: Don't write the directory in the string table.
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 15 Jul 2015 23:15:33 +0000 (23:15 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 15 Jul 2015 23:15:33 +0000 (23:15 +0000)
commit167af8c16c958aaea6d7cc48b791ea2bcc4dea8e
treea1a15161f25b50014f12ecf2d06d81c87ef32fd1
parent8770f7af5f46c0d34a79cf0beeeef80b1a2ab690
llvm-ar: Don't write the directory in the string table.

We were already doing the right thing for short file names, but not long
ones.

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