This is an archive of the discontinued LLVM Phabricator instance.

[ELF] - Linkerscript cleanup of LinkerScript<ELFT>::createSections()
AbandonedPublic

Authored by grimar on Jul 29 2016, 7:39 AM.

Details

Reviewers
ruiu
rafael
Summary

Change extracted from D22749.

Diff Detail

Event Timeline

grimar updated this revision to Diff 66120.Jul 29 2016, 7:39 AM
grimar retitled this revision from to [ELF] - Linkerscript cleanup of LinkerScript<ELFT>::createSections().
grimar updated this object.
grimar added reviewers: ruiu, rafael.
grimar added subscribers: llvm-commits, grimar.
rafael accepted this revision.Jul 29 2016, 7:41 AM
rafael edited edge metadata.

LGTM with one change.

ELF/LinkerScript.cpp
139

Please keep the filter in getSectionMap for now.

This revision is now accepted and ready to land.Jul 29 2016, 7:41 AM
grimar updated this revision to Diff 66122.Jul 29 2016, 8:07 AM
grimar edited edge metadata.

LGTM with one change.

With this change it transforms almost to the same code. Actually comment of LinkerScript<ELFT>::getSectionMap() was depricated and I did not notice it returns InputSectionDescription already.

So my patch can live without that change I think. Do you still think it is useful ?

grimar abandoned this revision.Jul 29 2016, 8:44 AM

We can live without this for now.