diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-20 13:00:30 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-20 13:00:30 +0000 |
commit | 6f2c88a08b30e9e22d71ed7d7abb89bbcc9d1629 (patch) | |
tree | cb9c4a3c46ec16fda8286aee56c13443f08efcad /tools/llvm-ar/ArchiveReader.cpp | |
parent | e9ff273acaea782259429068fc73abf2ed2684c2 (diff) | |
download | external_llvm-6f2c88a08b30e9e22d71ed7d7abb89bbcc9d1629.zip external_llvm-6f2c88a08b30e9e22d71ed7d7abb89bbcc9d1629.tar.gz external_llvm-6f2c88a08b30e9e22d71ed7d7abb89bbcc9d1629.tar.bz2 |
Remove remaining bits of the old LLVM specific symtab handling.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184418 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-ar/ArchiveReader.cpp')
-rw-r--r-- | tools/llvm-ar/ArchiveReader.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/tools/llvm-ar/ArchiveReader.cpp b/tools/llvm-ar/ArchiveReader.cpp index a9df13e..8eba595 100644 --- a/tools/llvm-ar/ArchiveReader.cpp +++ b/tools/llvm-ar/ArchiveReader.cpp @@ -207,7 +207,6 @@ Archive::loadArchive(std::string* error) { // Set up parsing members.clear(); - symTab.clear(); const char *At = base; const char *End = mapfile->getBufferEnd(); @@ -226,14 +225,6 @@ Archive::loadArchive(std::string* error) { // check if this is the foreign symbol table if (mbr->isSVR4SymbolTable() || mbr->isBSD4SymbolTable()) { - // We just save this but don't do anything special - // with it. It doesn't count as the "first file". - if (foreignST) { - // What? Multiple foreign symbol tables? Just chuck it - // and retain the last one found. - delete foreignST; - } - foreignST = mbr; At += mbr->getSize(); if ((intptr_t(At) & 1) == 1) At++; @@ -281,7 +272,6 @@ Archive::loadSymbolTable(std::string* ErrorMsg) { // Set up parsing members.clear(); - symTab.clear(); const char *At = base; const char *End = mapfile->getBufferEnd(); |