HomePhabricator

[ELF] - Get rid of SyntheticSection::postThunkContents(). NFCI.

Description

[ELF] - Get rid of SyntheticSection::postThunkContents(). NFCI.

It turns out that postThunkContents() is only used for
sorting symbols in .symtab.

Though we can instead move the logic to SymbolTableBaseSection::finalizeContents(),
postpone calling it and then get rid of postThunkContents completely.

Differential revision: https://reviews.llvm.org/D49547

Details

Committed
grimarAug 10 2018, 12:24 AM
Differential Revision
D49547: [ELF] - Get rid of postThunkContents().
Parents
rLLD339412: [LLD][ELF] - Fix crash when using empty --defsym.
Branches
Unknown
Tags
Unknown