This is an archive of the discontinued LLVM Phabricator instance.

[ELF] Support discarding .got.plt
ClosedPublic

Authored by MaskRay on Nov 18 2021, 11:11 AM.

Details

Summary

Fix a null pointer dereference when .got.plt is discarded.

This also adds a test for discarding .plt.

Diff Detail

Event Timeline

MaskRay created this revision.Nov 18 2021, 11:11 AM
MaskRay requested review of this revision.Nov 18 2021, 11:11 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 18 2021, 11:11 AM
ikudrin accepted this revision.Nov 19 2021, 2:30 AM

LGTM.

This revision is now accepted and ready to land.Nov 19 2021, 2:30 AM
This revision was automatically updated to reflect the committed changes.