xref: /freebsd/usr.bin/clang/llvm-readobj/llvm-readelf.1 (revision 3332f1b444d4a73238e9f59cca27bfc95fe936bd)
Man page generated from reStructuredText.
. . .nr rst2man-indent-level 0 . \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .rstReportMargin pre:
. RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .rstReportMargin post:
.. . RE indent \\n[an-margin]
old: \\n[rst2man-indent\\n[rst2man-indent-level]]
.nr rst2man-indent-level -1 new: \\n[rst2man-indent\\n[rst2man-indent-level]]
..
"LLVM-READELF" "1" "2021-09-22" "12" "LLVM"
NAME
llvm-readelf - GNU-style LLVM Object Reader
SYNOPSIS
llvm-readelf [options] [input...]
DESCRIPTION
The llvm-readelf tool displays low-level format-specific information about one or more object files. If input is "-", llvm-readelf reads from standard input. Otherwise, it will read from the specified filenames.
OPTIONS
NDENT 0.0

--all Equivalent to specifying all the main display options. NINDENT NDENT 0.0

--addrsig Display the address-significance table. NINDENT NDENT 0.0

--arch-specific, -A Display architecture-specific information, e.g. the ARM attributes section on ARM. NINDENT NDENT 0.0

--color Use colors in the output for warnings and errors. NINDENT NDENT 0.0

--demangle, -C Display demangled symbol names in the output. NINDENT NDENT 0.0

--dyn-relocations Display the dynamic relocation entries. NINDENT NDENT 0.0

--dyn-symbols, --dyn-syms Display the dynamic symbol table. NINDENT NDENT 0.0

--dynamic-table, --dynamic, -d Display the dynamic table. NINDENT NDENT 0.0

--cg-profile Display the callgraph profile section. NINDENT NDENT 0.0

--elf-hash-histogram, --histogram, -I Display a bucket list histogram for dynamic symbol hash tables. NINDENT NDENT 0.0

--elf-linker-options Display the linker options section. NINDENT NDENT 0.0

--elf-output-style=<value> Format ELF information in the specified style. Valid options are LLVM and GNU. LLVM output is an expanded and structured format, whilst GNU (the default) output mimics the equivalent GNU readelf output. NINDENT NDENT 0.0

--elf-section-groups, --section-groups, -g Display section groups. NINDENT NDENT 0.0

--expand-relocs When used with \%--relocations, display each relocation in an expanded multi-line format. NINDENT NDENT 0.0

--file-headers, -h Display file headers. NINDENT NDENT 0.0

--gnu-hash-table Display the GNU hash table for dynamic symbols. NINDENT NDENT 0.0

--hash-symbols Display the expanded hash table with dynamic symbol data. NINDENT NDENT 0.0

--hash-table Display the hash table for dynamic symbols. NINDENT NDENT 0.0

--headers, -e Equivalent to setting: \%--file-headers, \%--program-headers, and \%--sections. NINDENT NDENT 0.0

--help Display a summary of command line options. NINDENT NDENT 0.0

--help-list Display an uncategorized summary of command line options. NINDENT NDENT 0.0

--hex-dump=<section[,section,...]>, -x Display the specified section(s) as hexadecimal bytes. section may be a section index or section name. NINDENT NDENT 0.0

--needed-libs Display the needed libraries. NINDENT NDENT 0.0

--notes, -n Display all notes. NINDENT NDENT 0.0

--program-headers, --segments, -l Display the program headers. NINDENT NDENT 0.0

--raw-relr Do not decode relocations in RELR relocation sections when displaying them. NINDENT NDENT 0.0

--relocations, --relocs, -r Display the relocation entries in the file. NINDENT NDENT 0.0

--sections, --section-headers, -S Display all sections. NINDENT NDENT 0.0

--section-data When used with \%--sections, display section data for each section shown. This option has no effect for GNU style output. NINDENT NDENT 0.0

--section-details, -t Display all section details. Used as an alternative to \%--sections. NINDENT NDENT 0.0

--section-mapping Display the section to segment mapping. NINDENT NDENT 0.0

--section-relocations When used with \%--sections, display relocations for each section shown. This option has no effect for GNU style output. NINDENT NDENT 0.0

--section-symbols When used with \%--sections, display symbols for each section shown. This option has no effect for GNU style output. NINDENT NDENT 0.0

--stackmap Display contents of the stackmap section. NINDENT NDENT 0.0

--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. NINDENT NDENT 0.0

--string-dump=<section[,section,...]>, -p Display the specified section(s) as a list of strings. section may be a section index or section name. NINDENT NDENT 0.0

--symbols, --syms, -s Display the symbol table. NINDENT NDENT 0.0

--unwind, -u Display unwind information. NINDENT NDENT 0.0

--version Display the version of the llvm-readelf executable. NINDENT NDENT 0.0

--version-info, -V Display version sections. NINDENT NDENT 0.0

@<FILE> Read command-line options from response file <FILE>. NINDENT

EXIT STATUS
llvm-readelf returns 0 under normal operation. It returns a non-zero exit code if there were any errors.
SEE ALSO
llvm-nm(1), llvm-objdump(1), llvm-readobj(1)
AUTHOR
Maintained by the LLVM Team (https://llvm.org/).
COPYRIGHT
2003-2021, LLVM Project Generated by docutils manpage writer.
.