This is an archive of the discontinued LLVM Phabricator instance.

[ELF][test] Restore important part of ICF alignment test
ClosedPublic

Authored by andrewng on Sep 20 2021, 11:27 AM.

Details

Summary

Restore the checking of addresses in ICF test which was testing the
behaviour of ICF with regards to different alignments of otherwise
identical sections. Also make the test more robust to layout changes.

Diff Detail

Event Timeline

andrewng created this revision.Sep 20 2021, 11:27 AM
andrewng requested review of this revision.Sep 20 2021, 11:27 AM
MaskRay accepted this revision.Sep 20 2021, 11:40 AM

LGTM. I usually use a [test] to indicate no code is changed.

This revision is now accepted and ready to land.Sep 20 2021, 11:40 AM
andrewng retitled this revision from [LLD][ELF] Restore important part of ICF alignment test to [ELF][test] Restore important part of ICF alignment test.Sep 21 2021, 2:22 AM
andrewng updated this revision to Diff 373813.EditedSep 21 2021, 2:25 AM

Added comment to test as suggested off-line by @jhenderson.

This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptSep 22 2021, 6:16 AM