[llvm] r372754 - [docs][llvm-strip][llvm-objcopy] Improve wording and fix highlighting
James Henderson via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 24 06:41:39 PDT 2019
Author: jhenderson
Date: Tue Sep 24 06:41:39 2019
New Revision: 372754
URL: http://llvm.org/viewvc/llvm-project?rev=372754&view=rev
Log:
[docs][llvm-strip][llvm-objcopy] Improve wording and fix highlighting
Modified:
llvm/trunk/docs/CommandGuide/llvm-objcopy.rst
llvm/trunk/docs/CommandGuide/llvm-strip.rst
Modified: llvm/trunk/docs/CommandGuide/llvm-objcopy.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/CommandGuide/llvm-objcopy.rst?rev=372754&r1=372753&r2=372754&view=diff
==============================================================================
--- llvm/trunk/docs/CommandGuide/llvm-objcopy.rst (original)
+++ llvm/trunk/docs/CommandGuide/llvm-objcopy.rst Tue Sep 24 06:41:39 2019
@@ -182,8 +182,8 @@ them.
.. option:: --allow-broken-links
- Allow llvm-objcopy to remove sections even if it would leave invalid section
- references. Any invalid sh_link fields will be set to zero.
+ Allow :program:`llvm-objcopy` to remove sections even if it would leave invalid
+ section references. Any invalid sh_link fields will be set to zero.
.. option:: --build-id-link-dir <dir>
Modified: llvm/trunk/docs/CommandGuide/llvm-strip.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/CommandGuide/llvm-strip.rst?rev=372754&r1=372753&r2=372754&view=diff
==============================================================================
--- llvm/trunk/docs/CommandGuide/llvm-strip.rst (original)
+++ llvm/trunk/docs/CommandGuide/llvm-strip.rst Tue Sep 24 06:41:39 2019
@@ -13,10 +13,10 @@ DESCRIPTION
:program:`llvm-strip` is a tool to strip sections and symbols from object files.
If no other stripping or remove options are specified, :option:`--strip-all`
-will be enabled by default.
+will be enabled.
-The input files are modified in-place. If "-" is specified for the input file,
-the input is read from the program's standard input stream.
+By default, the input files are modified in-place. If "-" is specified for the
+input file, the input is read from the program's standard input stream.
If the input is an archive, any requested operations will be applied to each
archive member individually.
@@ -129,8 +129,8 @@ them.
.. option:: --allow-broken-links
- Allow llvm-strip to remove sections even if it would leave invalid section
- references. Any invalid sh_link fields will be set to zero.
+ Allow :program:`llvm-strip` to remove sections even if it would leave invalid
+ section references. Any invalid sh_link fields will be set to zero.
.. option:: --discard-locals, -X
More information about the llvm-commits
mailing list