This is an archive of the discontinued LLVM Phabricator instance.

COFF: Implement safe ICF on rodata using address-significance tables.
ClosedPublic

Authored by pcc on Aug 21 2018, 10:39 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

pcc created this revision.Aug 21 2018, 10:39 AM
rnk added inline comments.Aug 21 2018, 12:35 PM
lld/COFF/Driver.cpp
761 ↗(On Diff #161764)

This should be checked in case of corrupt inputs.

pcc updated this revision to Diff 162112.Aug 22 2018, 5:21 PM
  • Add error handling
pcc marked an inline comment as done.Aug 22 2018, 5:27 PM
rnk accepted this revision.Aug 23 2018, 7:43 AM

Lgtm

This revision is now accepted and ready to land.Aug 23 2018, 7:43 AM
This revision was automatically updated to reflect the committed changes.