Scroll to navigation

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

NAME

llvm-objdump - manual page for llvm-objdump 15

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
Alias for --demangle
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)
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
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)
Alias for --disassembler-options=
Alias for --macho
When disassembling, do not print leading addresses
Do not use hex format for immediate values (default)
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
Use hex format for immediate values
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
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
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 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 (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.

September 2022 llvm-objdump 15