]> granicus.if.org Git - llvm/commitdiff
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@371862 91177308-0d34-0410-b5e6-96231b3b80d8

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

index ecdb8f80771d78c4021b3b00ae27af4a40a6a318..6aa904755725a95278b7ee769a9ebbde60d3a485 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 d15a6739b8da90b63ee2eb85757c30285f2ac684..30f7976183d896437c25042a210f8fcf6ec650ec 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.