Scroll to navigation

LLVM-OBJDUMP(1) User Commands LLVM-OBJDUMP(1)

NAME

llvm-objdump - manual page for llvm-objdump 19

DESCRIPTION

OVERVIEW: llvm object file dumper

USAGE: llvm-objdump [options] <input object files>

OPTIONS:

Increase the displayed address by the specified offset
Display all available header information, relocation entries and the symbol table
Target arch to disassemble for, see --version for available targets
Display archive header information
Alias for --archive-headers
Build ID to look up. Once found, added as an input file
Alias for --demangle
Path to directory where to look for debug files
Distance to indent the source-level variable display, relative to the start of the disassembly
Print the locations (in registers or memory) of source-level variables alongside disassembly. Supported formats: ascii, unicode (default)
Use debuginfod to find debug files
Demangle symbol names
Disassemble all sections found in the input files
List of symbols to disassemble. Accept demangled names when --demangle is specified, otherwise accept mangled names
Do not skip blocks of zeroes when disassembling
Enable or disable disassembler color output. Valid options are "on", "off" and "terminal" (default)
Pass target specific disassembler options
Disassemble all executable sections found in the input files
Dump the specified DWARF debug sections. The only supported value is 'frames'
Display the dynamic relocation entries in the file
Display the contents of the dynamic symbol table
Alias for --disassemble-all
Alias for --disassemble
Display the content of the fault map section
Display the contents of the overall file header
Display the content of each section
Alias for --file-headers
Alias for --section-headers
Display available options (--help-hidden for more)
Alias for --section-headers
Alias for --section
When disassembling, display source line numbers. Implies --disassemble
Alias for --line-numbers
Use MachO specific object file parser
Target specific attributes (--mattr=help for details)
Target a specific cpu type (--mcpu=help for details)
Specify an argument to forward to LLVM's CommandLine library
Alias for --disassembler-options=
Alias for --macho
Alias for --no-leading-addr
Don't use debuginfod to find debug files
When disassembling, do not print leading addresses for instructions or inline relocations
Do not use hex format for immediate values
When disassembling instructions, do not print the instruction bytes.
Display the content of the offloading section
Strip out initial directories from absolute paths. No effect without --prefix
Add prefix to absolute paths
Display PGO analysis values with formatting rather than raw numbers
Use hex format for immediate values (default)
Display format specific file headers
Alias for --private-headers
Dump the raw binary contents of the clang AST section
Display the relocation entries in the file
Alias for --dynamic-reloc
Alias for --reloc
Display summaries of the headers for each section.
Operate on the specified sections only. With --macho dump segment,section
Show all symbols during disassembly, even if multiple symbols are defined at the same location
Display LMA column when dumping ELF section headers
When disassembling, display source interleaved with the disassembly. Implies --disassemble

--start-address=address Set the start address for disassembling, printing relocations and printing symbols

Set the stop address for disassembling, printing relocations and printing symbols
Add symbol description for disassembly. This option is for XCOFF files only
Symbolize instruction operands when disassembling
Display the symbol table
Alias for --source
Alias for --full-contents
Decode traceback table in disassembly. Implies --disassemble. This option is for XCOFF files only
Target triple to disassemble for, see --version for available targets
Alias for --dynamic-syms
Alias for --syms
Display unwind information
Alias for --unwind-info
Display the version of this program
Alias for --version
Ignored for compatibility with GNU objdump
Emit AT&T-style disassembly
Emit Intel-style disassembly
Alias for --all-headers
Alias for --disassemble-zeroes

llvm-objdump MachO Specific Options:

architecture(s) from a Mach-O file to dump
Print the offset to each archive member for Mach-O archives (requires --macho and --archive-headers)
Display mach-o binding info
Print chained fixup information (requires --macho)
Print the data in code table for Mach-O objects (requires --macho)
disassemble just this symbol's instructions (requires --macho)
Use .dSYM file for debug info
Print bind and rebase information used by dyld to resolve external references in a final linked binary (requires --macho)
Print the shared library's id for the dylib Mach-O file (requires --macho)
Print the shared libraries used for linked Mach-O files (requires --macho)
Display mach-o exported symbols
Print full leading address
Print the function starts table for Mach-O objects. Options: addrs (default), names, both (requires --macho)
Print line information from debug info if available
Print indirect symbol table for Mach-O objects (requires --macho)
Print the info plist section as strings for Mach-O objects (requires --macho)
Display mach-o lazy binding info
Print the linker optimization hints for Mach-O objects (requires --macho)
Print no leading headers

--no-symbolic-operands do not symbolic operands when disassembling (requires --macho)

Print the info for Mach-O objects in non-verbose or numeric form (requires --macho)
Print the Objective-C runtime meta data for Mach-O files (requires --macho)
Display only the first format specific file header
Display mach-o rebasing info
Print the runtime search paths for the Mach-O file (requires --macho)
Print Mach-O universal headers (requires --macho)
Display mach-o weak binding info

Pass @FILE as argument to read options from FILE.

December 2024 llvm-objdump 19