[llvm-objcopy][MachO] Implement --update-section
authorAlex Brachet <abrachet@google.com>
Sun, 23 Jan 2022 09:44:09 +0000 (09:44 +0000)
committerAlex Brachet <abrachet@google.com>
Sun, 23 Jan 2022 09:47:45 +0000 (09:47 +0000)
commit3dc6fd5151355c309f0c4595b63268138ac57910
treee60a35074a4641cb8d0a0f17596662a63a96c311
parentbe6070c290e23d659c6374284a632442e2360967
[llvm-objcopy][MachO] Implement --update-section

Implements `--update-section` which is currently supported for ELF for Mach-O as well

Reviewed By: alexander-shaposhnikov

Differential Revision: https://reviews.llvm.org/D117281
llvm/test/tools/llvm-objcopy/MachO/update-section.test [new file with mode: 0644]
llvm/tools/llvm-objcopy/MachO/MachOObjcopy.cpp