forked from OSchip/llvm-project
When reading the symbol table, make sure to delete the ArchiveMember
created by reading the symbol table. llvm-svn: 28251
This commit is contained in:
parent
936cd3390d
commit
69fb378858
|
@ -363,6 +363,8 @@ Archive::loadSymbolTable() {
|
|||
At += mbr->getSize();
|
||||
if ((intptr_t(At) & 1) == 1)
|
||||
At++;
|
||||
delete mbr;
|
||||
// Can't be any more symtab headers so just advance
|
||||
FirstFile = At;
|
||||
} else {
|
||||
// There's no symbol table in the file. We have to rebuild it from scratch
|
||||
|
|
Loading…
Reference in New Issue