diff options
author | Seiya Nuta <nuta@seiya.me> | 2019-10-28 15:40:37 +0900 |
---|---|---|
committer | Seiya Nuta <nuta@seiya.me> | 2019-10-28 16:00:20 +0900 |
commit | 7f19dd1ebff0456feaf18437bb231856b6e49b5c (patch) | |
tree | cd2df1153e4fec073471b5347977b359ba8bddec /llvm/docs/CommandGuide | |
parent | f4d7caf6df819d18b4d5b460d21f7f8fe1e1b705 (diff) | |
download | bcm5719-llvm-7f19dd1ebff0456feaf18437bb231856b6e49b5c.tar.gz bcm5719-llvm-7f19dd1ebff0456feaf18437bb231856b6e49b5c.zip |
[llvm-objcopy][MachO] Implement --only-section
Reviewers: alexshap, rupprecht, jdoerfert, jhenderson
Reviewed By: alexshap, rupprecht, jhenderson
Subscribers: mgorny, jakehehrlich, abrachet, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65541
Diffstat (limited to 'llvm/docs/CommandGuide')
-rw-r--r-- | llvm/docs/CommandGuide/llvm-objcopy.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/docs/CommandGuide/llvm-objcopy.rst b/llvm/docs/CommandGuide/llvm-objcopy.rst index 56c3a77716b..063300ad60e 100644 --- a/llvm/docs/CommandGuide/llvm-objcopy.rst +++ b/llvm/docs/CommandGuide/llvm-objcopy.rst @@ -72,6 +72,9 @@ multiple file formats. Remove all sections from the output, except for sections named ``<section>``. Can be specified multiple times to keep multiple sections. + For MachO objects, ``<section>`` must be formatted as + ``<segment name>,<section name>``. + .. option:: --regex If specified, symbol and section names specified by other switches are treated |