From eb81493e95c9f0e7feecd699758caa56b7d3514e Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Mon, 11 Sep 2023 11:08:58 -0700 Subject: [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. --- llvm/docs/CommandGuide/llvm-readelf.rst | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'llvm/docs/CommandGuide') 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. -- cgit v1.1