Page MenuHomePhabricator

[llvm-objcopy][MachO] Change the storage of sections.
ClosedPublic

Authored by alexshap on Feb 20 2020, 9:11 PM.

Details

Summary

In this diff we change the storage of a section to unique_ptr to avoid pointer invalidation in case of adding/removing new sections.
This refactoring is factored out from D71647.

Test plan: make check-all

Diff Detail

Event Timeline

alexshap created this revision.Feb 20 2020, 9:11 PM
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: abrachet. · View Herald Transcript
alexshap edited the summary of this revision. (Show Details)Feb 20 2020, 9:12 PM
MaskRay accepted this revision.Feb 20 2020, 9:17 PM
This revision is now accepted and ready to land.Feb 20 2020, 9:17 PM
This revision was automatically updated to reflect the committed changes.