[lld-macho] Implement options -rename_section -rename_segment
authorGreg McGary <gkm@fb.com>
Fri, 26 Feb 2021 23:36:49 +0000 (15:36 -0800)
committerGreg McGary <gkm@fb.com>
Sat, 27 Feb 2021 19:44:12 +0000 (11:44 -0800)
commit6f9dd843db4096cb3a63ce55e3f144e52dcaa98e
tree225a940bd111871cc8560e6d4d2a37ef06766da2
parent415acb2c5994a95be739b908785ea8260baa18fd
[lld-macho] Implement options -rename_section -rename_segment

Implement command-line options to rename output sections & segments.

Differential Revision: https://reviews.llvm.org/D97600
lld/MachO/Config.h
lld/MachO/Driver.cpp
lld/MachO/Options.td
lld/MachO/Writer.cpp
lld/test/MachO/rename.s [new file with mode: 0644]