This is an archive of the discontinued LLVM Phabricator instance.

[lld-macho][nfc] Add more tests + comments around ICF + unwind info interaction
ClosedPublic

Authored by int3 on Jul 15 2022, 12:26 PM.

Details

Summary

While working on D129830: [lld-macho] Support folding of functions with identical LSDAs, I realized that our handling of ICF +
eh_frame combined was untested. Additionally I realized that the comment
explaining why we were safely slicing away the functionAddress reloc
from our compact unwind entries was... insufficient and slightly
misleading. I've tried to clarify it.

Diff Detail

Event Timeline

int3 created this revision.Jul 15 2022, 12:26 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJul 15 2022, 12:26 PM
int3 requested review of this revision.Jul 15 2022, 12:26 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 15 2022, 12:26 PM
int3 updated this revision to Diff 445103.Jul 15 2022, 12:35 PM

tweak comment

thevinster accepted this revision.Jul 15 2022, 3:16 PM
This revision is now accepted and ready to land.Jul 15 2022, 3:16 PM
This revision was landed with ongoing or failed builds.Jul 15 2022, 9:52 PM
This revision was automatically updated to reflect the committed changes.