This is an archive of the discontinued LLVM Phabricator instance.

[lld-macho][nfc] Hoist out creation of Section in parseSections()
ClosedPublic

Authored by int3 on Feb 2 2022, 7:50 AM.

Details

Summary

Simplifies the code slightly.

Diff Detail

Event Timeline

int3 created this revision.Feb 2 2022, 7:50 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 2 2022, 7:50 AM
int3 requested review of this revision.Feb 2 2022, 7:50 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 2 2022, 7:50 AM
thakis accepted this revision.Feb 2 2022, 10:09 AM
thakis added a subscriber: thakis.

lgtm

This revision is now accepted and ready to land.Feb 2 2022, 10:09 AM