Add support for gnu archives with a string table and no symtab.
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 3 Jul 2013 15:57:14 +0000 (15:57 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 3 Jul 2013 15:57:14 +0000 (15:57 +0000)
commit09a7f6016ae87e97275e18ea662ff32a120c04a4
tree15c0547b33564af50fbed3b5ad25c6c5e7140951
parent40d40dd44edbac3c20a4f3305f208ab48c2c219a
Add support for gnu archives with a string table and no symtab.

While there, use early returns to reduce nesting.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185547 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Object/Archive.cpp
test/Object/Inputs/archive-test.a-gnu-no-symtab [new file with mode: 0644]
test/Object/nm-archive.test