This is an archive of the discontinued LLVM Phabricator instance.

ELF: Simplify. NFCI.
ClosedPublic

Authored by pcc on Mar 11 2019, 7:19 PM.

Details

Summary

We don't need to take a slice of SectionCommands in addOrphanSections()
because it is not modified until the end of the function.

Diff Detail

Repository
rL LLVM

Event Timeline

pcc created this revision.Mar 11 2019, 7:19 PM
Herald added a project: Restricted Project. · View Herald Transcript
grimar accepted this revision.Mar 12 2019, 1:59 AM

LGTM

This revision is now accepted and ready to land.Mar 12 2019, 1:59 AM
This revision was automatically updated to reflect the committed changes.