This is an archive of the discontinued LLVM Phabricator instance.

Fix PR28575
Needs ReviewPublic

Authored by ruiu on Jul 18 2016, 4:59 PM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None

Diff Detail

Event Timeline

ruiu updated this revision to Diff 64427.Jul 18 2016, 4:59 PM
ruiu retitled this revision from to Fix PR28575.
ruiu updated this object.
ruiu added inline comments.Jul 18 2016, 5:15 PM
ELF/InputSection.cpp
459–461

I think you want to remove "That means ..." part because it doesn't describe the behavior of this function.

502

Why don't you store relocation indices to section pieces? It would be better than having parallel arrays.

ELF/MarkLive.cpp
99

Please write a function comment why you needed this function (e.g. why .eh_frame needs special treament).