Return early. NFC.

llvm-svn: 296434
This commit is contained in:
Rui Ueyama 2017-02-28 04:11:01 +00:00
parent 968db48cee
commit 406331ebfd
1 changed files with 1 additions and 0 deletions

View File

@ -1327,6 +1327,7 @@ template <class ELFT> void SymbolTableSection<ELFT>::finalizeContents() {
size_t I = 0;
for (const SymbolTableEntry &S : Symbols)
S.Symbol->DynsymIndex = ++I;
return;
}
// If it is a .symtab, move all local symbols before global symbols.