[ELF] Remove unnecessary function call. NFC.

StringTableSection does not implement postThunkContents, so calling it on these 
sections is pointless (it calls an empty virtual function), and we can remove it.

Reviewers: ruiu

Differential Revision: https://reviews.llvm.org/D39460

llvm-svn: 317014
This commit is contained in:
James Henderson 2017-10-31 17:28:44 +00:00
parent f78d097340
commit 50baa593f1
1 changed files with 1 additions and 1 deletions

View File

@ -1363,7 +1363,7 @@ template <class ELFT> void Writer<ELFT>::finalizeSections() {
Sec->finalize<ELFT>(); Sec->finalize<ELFT>();
// createThunks may have added local symbols to the static symbol table // createThunks may have added local symbols to the static symbol table
applySynthetic({InX::SymTab, InX::ShStrTab, InX::StrTab}, applySynthetic({InX::SymTab},
[](SyntheticSection *SS) { SS->postThunkContents(); }); [](SyntheticSection *SS) { SS->postThunkContents(); });
} }