[llvm] r371862 - [docs][llvm-readelf][llvm-readobj] Improve --stack-sizes documentation
James Henderson via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 13 08:01:40 PDT 2019
Author: jhenderson
Date: Fri Sep 13 08:01:39 2019
New Revision: 371862
URL: http://llvm.org/viewvc/llvm-project?rev=371862&view=rev
Log:
[docs][llvm-readelf][llvm-readobj] Improve --stack-sizes documentation
llvm-readobj's document was missing --stack-sizes entirely from its
document, so this patch adds it. It also adds a note to the llvm-readelf
description that the switch is only implemented for GNU style output
currently. For reference, --stack-sizes was added in r367942.
Reviewed by: MaskRay
Differential Revision: https://reviews.llvm.org/D67548
Modified:
llvm/trunk/docs/CommandGuide/llvm-readelf.rst
llvm/trunk/docs/CommandGuide/llvm-readobj.rst
Modified: llvm/trunk/docs/CommandGuide/llvm-readelf.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/CommandGuide/llvm-readelf.rst?rev=371862&r1=371861&r2=371862&view=diff
==============================================================================
--- llvm/trunk/docs/CommandGuide/llvm-readelf.rst (original)
+++ llvm/trunk/docs/CommandGuide/llvm-readelf.rst Fri Sep 13 08:01:39 2019
@@ -163,7 +163,8 @@ OPTIONS
.. option:: --stack-sizes
Display the contents of the stack sizes section(s), i.e. pairs of function
- names and the size of their stack frames.
+ names and the size of their stack frames. Currently only implemented for GNU
+ style output.
.. option:: --string-dump=<section[,section,...]>, -p
Modified: llvm/trunk/docs/CommandGuide/llvm-readobj.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/CommandGuide/llvm-readobj.rst?rev=371862&r1=371861&r2=371862&view=diff
==============================================================================
--- llvm/trunk/docs/CommandGuide/llvm-readobj.rst (original)
+++ llvm/trunk/docs/CommandGuide/llvm-readobj.rst Fri Sep 13 08:01:39 2019
@@ -214,6 +214,12 @@ The following options are implemented on
Display the section to segment mapping.
+.. option:: --stack-sizes
+
+ Display the contents of the stack sizes section(s), i.e. pairs of function
+ names and the size of their stack frames. Currently only implemented for GNU
+ style output.
+
.. option:: --version-info, -V
Display version sections.
More information about the llvm-commits
mailing list