summaryrefslogtreecommitdiffstats
path: root/llvm/docs/CommandGuide/llvm-objcopy.rst
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/docs/CommandGuide/llvm-objcopy.rst')
-rw-r--r--llvm/docs/CommandGuide/llvm-objcopy.rst3
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
OpenPOWER on IntegriCloud