This is an archive of the discontinued LLVM Phabricator instance.

LLD: Remove sectionPosition attribute
Needs ReviewPublic

Authored by ruiu on Mar 6 2015, 1:25 PM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

This code is simply dead. No one is using it.

Diff Detail

Event Timeline

ruiu updated this revision to Diff 21392.Mar 6 2015, 1:25 PM
ruiu retitled this revision from to LLD: Remove sectionPosition attribute.
ruiu updated this object.
ruiu edited the test plan for this revision. (Show Details)
ruiu added a project: lld.
ruiu added a subscriber: Unknown Object (MLST).
davide added a subscriber: davide.Mar 6 2015, 1:45 PM

I looked at this one week ago or such and I thought about removing it as well, so, I'm fine with this patch. I would double-check with Nick Kledzik but, considering this code has been sitting unused in the tree for a while, I would rather remove it and re-introduce again in case there's some utility in it.

Can you please add reviewers to the code review request next time, its possible people would miss reviewing this.

For ELF this is required to support start and end linker generated variables automatically, if you refer to it. More information on this feature below :-

http://mgalgs.github.io/2013/05/10/hacking-your-ELF-for-fun-and-profit.html

ruiu added a comment.Mar 6 2015, 4:10 PM

You can add them back when you need it. As usual, keeping code "just in
case" is a bad engineering practice. Let's keep it simple and clean.
Can you please add reviewers to the code review request next time, its
possible people would miss reviewing this.

For ELF this is required to support start and end linker generated
variables automatically, if you refer to it. More information on this
feature below :-

http://mgalgs.github.io/2013/05/10/hacking-your-ELF-for-fun-and-profit.html

http://reviews.llvm.org/D8125

EMAIL PREFERENCES

http://reviews.llvm.org/settings/panel/emailpreferences/