This is an archive of the discontinued LLVM Phabricator instance.

[ELF] - Detemplate GnuHashTableSection and SymbolTableSection sections.
ClosedPublic

Authored by grimar on May 12 2017, 5:01 AM.

Details

Summary

This change tries to do the same D31467 did 2 month ago,
but solution now is consistent to what recent commits to LLD do.

SymbolTableBaseSection was introduced.

Detemplation of SymbolTableSection should allow to detemplate more things.

Diff Detail

Event Timeline

grimar created this revision.May 12 2017, 5:01 AM
grimar edited the summary of this revision. (Show Details)
ruiu edited edge metadata.May 12 2017, 11:07 AM

I'm not in favor of this change. I don't want to introduce a new class in general unless it is worthwhile. It seems this patch introduced a new class hierarchy too casually.

ruiu accepted this revision.May 15 2017, 3:10 PM

Okay, it is not at least as concerning as I first thought. LGTM.

ELF/SyntheticSections.h
413

Do you need this->?

This revision is now accepted and ready to land.May 15 2017, 3:10 PM
This revision was automatically updated to reflect the committed changes.
In D33124#755537, @ruiu wrote:

Okay, it is not at least as concerning as I first thought. LGTM.

Thanks !