This is an archive of the discontinued LLVM Phabricator instance.

[ELF] - Linkerscript: remove getSectionMap()
AbandonedPublic

Authored by grimar on Jul 28 2016, 3:27 AM.

Details

Reviewers
ruiu
rafael
Summary

I think recent patches shows that getSectionMap() is a bit excessive,
since anyways we need to have access to base command somehow in createSections().
At the same time one of pending patches moves "Add" lambda out from this method,
what will make it a bit shorter.
So I suggest to remove getSectionMap() for simplification.

Diff Detail

Event Timeline

grimar updated this revision to Diff 65898.Jul 28 2016, 3:27 AM
grimar retitled this revision from to [ELF] - Linkerscript: remove getSectionMap().
grimar updated this object.
grimar added reviewers: ruiu, rafael.
grimar added subscribers: llvm-commits, grimar, davide, evgeny777.
grimar abandoned this revision.Jul 29 2016, 8:43 AM

We can live without this for now.