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)
commit88ae7dd230dc1fd48bc8451b38611c9216eb1a45
treef8af044c9689f5bf0a05456cbfafbe37fe2990e3
parent8b82a4d36ea4d1a04b2e886bf2c981e4384ad7e5
Add support for gnu archives with a string table and no symtab.

While there, use early returns to reduce nesting.

llvm-svn: 185547
llvm/lib/Object/Archive.cpp
llvm/test/Object/Inputs/archive-test.a-gnu-no-symtab [new file with mode: 0644]
llvm/test/Object/nm-archive.test