[docs][llvm-readelf][llvm-readobj] Improve --stack-sizes documentation
authorJames Henderson <jh7370@my.bristol.ac.uk>
Fri, 13 Sep 2019 15:01:39 +0000 (15:01 +0000)
committerJames Henderson <jh7370@my.bristol.ac.uk>
Fri, 13 Sep 2019 15:01:39 +0000 (15:01 +0000)
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

llvm-svn: 371862

llvm/docs/CommandGuide/llvm-readelf.rst
llvm/docs/CommandGuide/llvm-readobj.rst

index ecdb8f8..6aa9047 100644 (file)
@@ -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
 
index d15a673..30f7976 100644 (file)
@@ -214,6 +214,12 @@ The following options are implemented only for the ELF file format.
 
  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.