Scroll to navigation

LLVM-READELF(1) LLVM LLVM-READELF(1)

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 “-” or omitted, llvm-readelf reads from standard input. Otherwise, it will read from the specified filenames.

OPTIONS

Equivalent to specifying all the main display options.

Display the address-significance table.

Display the ARM attributes section. Only applicable for ARM architectures.

Use colors in the output for warnings and errors.

Display demangled symbol names in the output.

Display the dynamic relocation entries.

Display the dynamic symbol table.

Display the dynamic table.

Display the callgraph profile section.

Display a bucket list histogram for dynamic symbol hash tables.

Display the linker options section.

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.


When used with --relocations, display each relocation in an expanded multi-line format.

Display file headers.

Display the GNU hash table for dynamic symbols.

Display the expanded hash table with dynamic symbol data.

Display the hash table for dynamic symbols.

Equivalent to setting: --file-headers, --program-headers, and --sections.

Display a summary of command line options.

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

Display the specified section(s) as hexadecimal bytes. section may be a section index or section name.

Display the needed libraries.

Display all notes.

Display the program headers.

Do not decode relocations in RELR relocation sections when displaying them.

Display the relocation entries in the file.

Display all sections.

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

Display the section to segment mapping.

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

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

Display contents of the stackmap section.

Display the specified section(s) as a list of strings. section may be a section index or section name.

Display the symbol table.

Display unwind information.

Display the version of this program.

--version-info, -V
Display version sections.

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

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-2019, LLVM Project

2019-10-07 9