Skip to content

Commit 9fcb675

Browse files
authored
[docs] Fix llvm-strip -T flag section (#167987)
This was previously under the ELF specific options section, but is actually only supported for Mach-O
1 parent dd7a000 commit 9fcb675

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

llvm/docs/CommandGuide/llvm-strip.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,13 @@ them.
179179
segments. Note that many tools will not be able to use an object without
180180
section headers.
181181

182+
MACH-O-SPECIFIC OPTIONS
183+
-----------------------
184+
185+
The following options are implemented only for Mach-O objects. If used with other
186+
objects, :program:`llvm-strip` will either emit an error or silently ignore
187+
them.
188+
182189
.. option:: -T
183190

184191
Remove Swift symbols.

0 commit comments

Comments
 (0)