aboutsummaryrefslogtreecommitdiff
path: root/llvm/docs/CommandGuide
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2023-09-11 11:08:58 -0700
committerGitHub <noreply@github.com>2023-09-11 11:08:58 -0700
commiteb81493e95c9f0e7feecd699758caa56b7d3514e (patch)
tree5a65de89e004eed486caeea9b0e8c38283bbbc6f /llvm/docs/CommandGuide
parent76af6e77c0e5d8c444daa3aea07f381c07b17da7 (diff)
downloadllvm-eb81493e95c9f0e7feecd699758caa56b7d3514e.zip
llvm-eb81493e95c9f0e7feecd699758caa56b7d3514e.tar.gz
llvm-eb81493e95c9f0e7feecd699758caa56b7d3514e.tar.bz2
[llvm-readelf] Add --extra-sym-info (#65580)
GNU readelf introduced --extra-sym-info/-X to display the section name for --syms (https://sourceware.org/PR30684). Port the feature, which is currently llvm-readelf only. For STO_AARCH64_VARIANT_PCS/STO_RISCV_VARIANT_PCS, the Ndx and Name columns may not be aligned.
Diffstat (limited to 'llvm/docs/CommandGuide')
-rw-r--r--llvm/docs/CommandGuide/llvm-readelf.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/docs/CommandGuide/llvm-readelf.rst b/llvm/docs/CommandGuide/llvm-readelf.rst
index 2ad217c..6ee4a5d 100644
--- a/llvm/docs/CommandGuide/llvm-readelf.rst
+++ b/llvm/docs/CommandGuide/llvm-readelf.rst
@@ -77,6 +77,10 @@ OPTIONS
``GNU`` (the default) output mimics the equivalent GNU :program:`readelf`
output. ``JSON`` is JSON formatted output intended for machine consumption.
+.. option:: --extra-sym-info
+
+ Display extra information (section name) when showing symbols.
+
.. option:: --section-groups, -g
Display section groups.