This is an archive of the discontinued LLVM Phabricator instance.

[ELF] Print file:line for 'undefined section' error
ClosedPublic

Authored by evgeny777 on Nov 24 2016, 9:25 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

evgeny777 updated this revision to Diff 79241.Nov 24 2016, 9:25 AM
evgeny777 retitled this revision from to [ELF] Print file:line for 'undefined section' error.
evgeny777 updated this object.
evgeny777 added reviewers: ruiu, rafael.
evgeny777 set the repository for this revision to rL LLVM.
evgeny777 added a project: lld.
evgeny777 added subscribers: grimar, ikudrin, llvm-commits.
ruiu added inline comments.Nov 24 2016, 9:30 AM
ELF/ScriptParser.cpp
44–45 ↗(On Diff #79241)

This function seems odd because it returns two values as a pair but the third parameter is virtually the third return value.

48 ↗(On Diff #79241)

Flip the condition and return eraly.

evgeny777 updated this revision to Diff 79283.Nov 25 2016, 1:23 AM
evgeny777 removed rL LLVM as the repository for this revision.

Addressed review comments

ruiu accepted this revision.Nov 25 2016, 8:22 AM
ruiu edited edge metadata.

LGTM

This revision is now accepted and ready to land.Nov 25 2016, 8:22 AM
This revision was automatically updated to reflect the committed changes.