diff options
| author | Prabhu Rajasekaran <prabhukr@google.com> | 2026-01-15 16:29:34 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-16 00:29:34 +0000 |
| commit | 7f2eb314cd4837f4f4cff4d3c529aee140c49ea2 (patch) | |
| tree | 860dc0bdb87a04162b8e7b0619125daeb45e7703 /llvm/docs/CommandGuide | |
| parent | a3aa0383317a295a4a34cc6c5fb7e805b81b6706 (diff) | |
| download | llvm-7f2eb314cd4837f4f4cff4d3c529aee140c49ea2.tar.gz llvm-7f2eb314cd4837f4f4cff4d3c529aee140c49ea2.tar.bz2 llvm-7f2eb314cd4837f4f4cff4d3c529aee140c49ea2.zip | |
[NFC][llvm][docs] Fix alphabetical order of commands (#176280)
Fix the order of commands for llvm-readelf and llvm-readobj docs.
Diffstat (limited to 'llvm/docs/CommandGuide')
| -rw-r--r-- | llvm/docs/CommandGuide/llvm-readelf.rst | 8 | ||||
| -rw-r--r-- | llvm/docs/CommandGuide/llvm-readobj.rst | 36 |
2 files changed, 22 insertions, 22 deletions
diff --git a/llvm/docs/CommandGuide/llvm-readelf.rst b/llvm/docs/CommandGuide/llvm-readelf.rst index 5403fea60d5e..5fd635778b63 100644 --- a/llvm/docs/CommandGuide/llvm-readelf.rst +++ b/llvm/docs/CommandGuide/llvm-readelf.rst @@ -38,6 +38,10 @@ OPTIONS Display the contents of the basic block address map section(s), which contain the address of each function, along with the relative offset of each basic block. +.. option:: --cg-profile + + Display the callgraph profile section. + .. option:: --decompress, -z Dump decompressed section content when used with ``-x`` or ``-p``. @@ -63,10 +67,6 @@ OPTIONS Display the dynamic table. -.. option:: --cg-profile - - Display the callgraph profile section. - .. option:: --histogram, -I Display a bucket list histogram for dynamic symbol hash tables. diff --git a/llvm/docs/CommandGuide/llvm-readobj.rst b/llvm/docs/CommandGuide/llvm-readobj.rst index 0d05b947a6b3..f3afd9c7c964 100644 --- a/llvm/docs/CommandGuide/llvm-readobj.rst +++ b/llvm/docs/CommandGuide/llvm-readobj.rst @@ -181,13 +181,9 @@ The following options are implemented only for the ELF file format. When pgo analysis maps are present, all analyses are printed as their raw value. -.. option:: --pretty-pgo-analysis-map - - When pgo analysis maps are present in the basic block address map section(s), - analyses with special formats (i.e. BlockFrequency, BranchProbability, etc) - are printed using the same format as their respective analysis pass. +.. option:: --cg-profile - Requires :option:`--bb-addr-map` to have an effect. + Display the callgraph profile section. .. option:: --dependent-libraries @@ -205,14 +201,6 @@ The following options are implemented only for the ELF file format. Display the dynamic table. -.. option:: --cg-profile - - Display the callgraph profile section. - -.. option:: --histogram, -I - - Display a bucket list histogram for dynamic symbol hash tables. - .. option:: --elf-linker-options Display the linker options section. @@ -224,10 +212,6 @@ The following options are implemented only for the ELF file format. structured format. ``GNU`` output mimics the equivalent GNU :program:`readelf` output. ``JSON`` is JSON formatted output intended for machine consumption. -.. option:: --section-groups, -g - - Display section groups. - .. option:: --gnu-hash-table Display the GNU hash table for dynamic symbols. @@ -240,6 +224,10 @@ The following options are implemented only for the ELF file format. Display the hash table for dynamic symbols. +.. option:: --histogram, -I + + Display a bucket list histogram for dynamic symbol hash tables. + .. option:: --memtag Display information about memory tagging present in the binary. This includes @@ -250,6 +238,14 @@ The following options are implemented only for the ELF file format. Display all notes. +.. option:: --pretty-pgo-analysis-map + + When pgo analysis maps are present in the basic block address map section(s), + analyses with special formats (i.e. BlockFrequency, BranchProbability, etc) + are printed using the same format as their respective analysis pass. + + Requires :option:`--bb-addr-map` to have an effect. + .. option:: --pretty-print When used with :option:`--elf-output-style`, JSON output will be formatted in @@ -259,6 +255,10 @@ The following options are implemented only for the ELF file format. Display the program headers. +.. option:: --section-groups, -g + + Display section groups. + .. option:: --section-mapping Display the section to segment mapping. |
