This is an archive of the discontinued LLVM Phabricator instance.

[lld-macho][nfc] Remove indirection when looking up common section members
ClosedPublic

Authored by int3 on Apr 6 2022, 8:55 PM.

Details

Summary

D118797: [lld-macho][nfc] Eliminate InputSection::Shared means that we can now check the name/segname of a given
section directly, instead of having to look those properties up on one
of its subsections. This allows us to simplify our code.

Diff Detail

Event Timeline

int3 created this revision.Apr 6 2022, 8:55 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptApr 6 2022, 8:55 PM
int3 requested review of this revision.Apr 6 2022, 8:55 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 6 2022, 8:55 PM
int3 added a comment.Apr 7 2022, 11:00 AM

This one should be fairly easy to review :)

oontvoo accepted this revision.Apr 7 2022, 11:06 AM
oontvoo added a subscriber: oontvoo.

LG

This revision is now accepted and ready to land.Apr 7 2022, 11:06 AM
This revision was landed with ongoing or failed builds.Apr 7 2022, 11:31 AM
This revision was automatically updated to reflect the committed changes.