This is an archive of the discontinued LLVM Phabricator instance.

[ELF] - Better diagnostic for "can't create dynamic relocation" error.
ClosedPublic

Authored by grimar on Nov 11 2016, 7:42 AM.

Diff Detail

Event Timeline

grimar updated this revision to Diff 77614.Nov 11 2016, 7:42 AM
grimar retitled this revision from to [ELF] - Better diagnostic for "can't create dynamic relocation" error..
grimar updated this object.
grimar added reviewers: ruiu, rafael.
grimar added subscribers: llvm-commits, grimar, evgeny777.
ruiu added inline comments.Nov 11 2016, 12:56 PM
ELF/Relocations.cpp
651–652

This function already took too much parameters. I wouldn't add new parameters that can be inferred from other parameters.

Don't pass C because it should be reachable from Body.

grimar updated this revision to Diff 77960.Nov 15 2016, 1:51 AM
  • Rebased + updated message.
ruiu accepted this revision.Nov 15 2016, 9:47 AM
ruiu edited edge metadata.

LGTM

This revision is now accepted and ready to land.Nov 15 2016, 9:47 AM
This revision was automatically updated to reflect the committed changes.