From 7f19dd1ebff0456feaf18437bb231856b6e49b5c Mon Sep 17 00:00:00 2001 From: Seiya Nuta Date: Mon, 28 Oct 2019 15:40:37 +0900 Subject: [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 --- llvm/docs/CommandGuide/llvm-objcopy.rst | 3 +++ 1 file changed, 3 insertions(+) (limited to 'llvm/docs/CommandGuide') 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 ``
``. Can be specified multiple times to keep multiple sections. + For MachO objects, ``
`` must be formatted as + ``,
``. + .. option:: --regex If specified, symbol and section names specified by other switches are treated -- cgit v1.2.3