Scroll to navigation

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

NAME

llvm-objdump - manual page for llvm-objdump 13

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
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
Demangle symbol names
Display assembler mnemonics for the machine instructions
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
Display assembler mnemonics for the machine instructions
Dump of dwarf debug sections
Display the dynamic relocation entries in the file
Display the contents of the dynamic symbol table
Alias for --disassemble-all
Alias for --disassemble
Display contents of faultmap 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
Display source line numbers with disassembly. Implies disassemble object
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
Print no leading address
Do not use hex format for immediate values (default)
When disassembling instructions, do not print the instruction bytes.
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
Display source inlined with disassembly. Implies disassemble object

--start-address=address Disassemble beginning at address

Stop disassembly at address
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 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.

January 2022 llvm-objdump 13