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
Differential D74946
[llvm-objcopy][MachO] Change the storage of sections. alexshap on Feb 20 2020, 9:11 PM. Authored by
Details In this diff we change the storage of a section to unique_ptr to avoid pointer invalidation in case of adding/removing new sections. Test plan: make check-all
Diff Detail
|