.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3.
.TH LLVM-OBJDUMP "1" "February 2023" "llvm-objdump 14" "User Commands"
.SH NAME
llvm-objdump \- manual page for llvm-objdump 14
.SH DESCRIPTION
OVERVIEW: llvm object file dumper
.PP
USAGE: llvm\-objdump [options]
.SS "OPTIONS:"
.TP
\fB\-\-adjust\-vma\fR=\fI\,offset\/\fR
Increase the displayed address by the specified offset
.TP
\fB\-\-all\-headers\fR
Display all available header information, relocation entries and the symbol table
.TP
\fB\-\-arch\-name=\fR
Target arch to disassemble for, see \fB\-\-version\fR for available targets
.TP
\fB\-\-archive\-headers\fR
Display archive header information
.TP
\fB\-a\fR
Alias for \fB\-\-archive\-headers\fR
.TP
\fB\-C\fR
Alias for \fB\-\-demangle\fR
.TP
\fB\-\-debug\-vars\-indent=\fR
Distance to indent the source\-level variable display, relative to the start of the disassembly
.TP
\fB\-\-debug\-vars=\fR
Print the locations (in registers or memory) of source\-level variables alongside disassembly. Supported formats: ascii, unicode (default)
.TP
\fB\-\-demangle\fR
Demangle symbol names
.TP
\fB\-\-disassemble\-all\fR
Disassemble all sections found in the input files
.TP
\fB\-\-disassemble\-symbols=\fR
List of symbols to disassemble. Accept demangled names when \fB\-\-demangle\fR is specified, otherwise accept mangled names
.TP
\fB\-\-disassemble\-zeroes\fR
Do not skip blocks of zeroes when disassembling
.TP
\fB\-\-disassembler\-options\fR=\fI\,options\/\fR
Pass target specific disassembler options
.TP
\fB\-\-disassemble\fR
Disassemble all executable sections found in the input files
.TP
\fB\-\-dwarf=\fR
Dump the specified DWARF debug sections. The only supported value is 'frames'
.TP
\fB\-\-dynamic\-reloc\fR
Display the dynamic relocation entries in the file
.TP
\fB\-\-dynamic\-syms\fR
Display the contents of the dynamic symbol table
.TP
\fB\-D\fR
Alias for \fB\-\-disassemble\-all\fR
.TP
\fB\-d\fR
Alias for \fB\-\-disassemble\fR
.TP
\fB\-\-fault\-map\-section\fR
Display the content of the fault map section
.TP
\fB\-\-file\-headers\fR
Display the contents of the overall file header
.TP
\fB\-\-full\-contents\fR
Display the content of each section
.TP
\fB\-f\fR
Alias for \fB\-\-file\-headers\fR
.TP
\fB\-\-headers\fR
Alias for \fB\-\-section\-headers\fR
.TP
\fB\-\-help\fR
Display available options (\fB\-\-help\-hidden\fR for more)
.TP
\fB\-h\fR
Alias for \fB\-\-section\-headers\fR
.TP
\fB\-j\fR
Alias for \fB\-\-section\fR
.TP
\fB\-\-line\-numbers\fR
When disassembling, display source line numbers. Implies \fB\-\-disassemble\fR
.TP
\fB\-l\fR
Alias for \fB\-\-line\-numbers\fR
.TP
\fB\-\-macho\fR
Use MachO specific object file parser
.TP
\fB\-\-mattr\fR=\fI\,a1\/\fR,+a2,\-a3,...
Target specific attributes (\fB\-\-mattr\fR=\fI\,help\/\fR for details)
.TP
\fB\-\-mcpu\fR=\fI\,cpu\-name\/\fR
Target a specific cpu type (\fB\-\-mcpu\fR=\fI\,help\/\fR for details)
.TP
\fB\-M\fR
Alias for \fB\-\-disassembler\-options=\fR
.TP
\fB\-m\fR
Alias for \fB\-\-macho\fR
.TP
\fB\-\-no\-leading\-addr\fR
When disassembling, do not print leading addresses
.TP
\fB\-\-no\-print\-imm\-hex\fR
Do not use hex format for immediate values (default)
.TP
\fB\-\-no\-show\-raw\-insn\fR
When disassembling instructions, do not print the instruction bytes.
.TP
\fB\-\-prefix\-strip\fR=\fI\,prefix\/\fR
Strip out initial directories from absolute paths. No effect without \fB\-\-prefix\fR
.TP
\fB\-\-prefix\fR=\fI\,prefix\/\fR
Add prefix to absolute paths
.TP
\fB\-\-print\-imm\-hex\fR
Use hex format for immediate values
.TP
\fB\-\-private\-headers\fR
Display format specific file headers
.TP
\fB\-p\fR
Alias for \fB\-\-private\-headers\fR
.TP
\fB\-\-raw\-clang\-ast\fR
Dump the raw binary contents of the clang AST section
.TP
\fB\-\-reloc\fR
Display the relocation entries in the file
.TP
\fB\-R\fR
Alias for \fB\-\-dynamic\-reloc\fR
.TP
\fB\-r\fR
Alias for \fB\-\-reloc\fR
.TP
\fB\-\-section\-headers\fR
Display summaries of the headers for each section.
.TP
\fB\-\-section=\fR
Operate on the specified sections only. With \fB\-\-macho\fR dump segment,section
.TP
\fB\-\-show\-lma\fR
Display LMA column when dumping ELF section headers
.TP
\fB\-\-source\fR
When disassembling, display source interleaved with the disassembly. Implies \fB\-\-disassemble\fR
.HP
\fB\-\-start\-address\fR=\fI\,address\/\fR Set the start address for disassembling, printing relocations and printing symbols
.TP
\fB\-\-stop\-address\fR=\fI\,address\/\fR
Set the stop address for disassembling, printing relocations and printing symbols
.TP
\fB\-\-symbol\-description\fR
Add symbol description for disassembly. This option is for XCOFF files only.
.TP
\fB\-\-symbolize\-operands\fR
Symbolize instruction operands when disassembling
.TP
\fB\-\-syms\fR
Display the symbol table
.TP
\fB\-S\fR
Alias for \fB\-\-source\fR
.TP
\fB\-s\fR
Alias for \fB\-\-full\-contents\fR
.TP
\fB\-\-triple=\fR
Target triple to disassemble for, see \fB\-\-version\fR for available targets
.TP
\fB\-T\fR
Alias for \fB\-\-dynamic\-syms\fR
.TP
\fB\-t\fR
Alias for \fB\-\-syms\fR
.TP
\fB\-\-unwind\-info\fR
Display unwind information
.TP
\fB\-u\fR
Alias for \fB\-\-unwind\-info\fR
.TP
\fB\-\-version\fR
Display the version of this program
.TP
\fB\-v\fR
Alias for \fB\-\-version\fR
.TP
\fB\-\-wide\fR
Ignored for compatibility with GNU objdump
.TP
\fB\-\-x86\-asm\-syntax\fR=\fI\,att\/\fR
Emit AT&T\-style disassembly
.TP
\fB\-\-x86\-asm\-syntax\fR=\fI\,intel\/\fR
Emit Intel\-style disassembly
.TP
\fB\-x\fR
Alias for \fB\-\-all\-headers\fR
.TP
\fB\-z\fR
Alias for \fB\-\-disassemble\-zeroes\fR
.SS "llvm-objdump MachO Specific Options:"
.TP
\fB\-\-arch=\fR
architecture(s) from a Mach\-O file to dump
.TP
\fB\-\-archive\-member\-offsets\fR
Print the offset to each archive member for Mach\-O archives (requires \fB\-\-macho\fR and \fB\-\-archive\-headers\fR)
.TP
\fB\-\-bind\fR
Display mach\-o binding info
.TP
\fB\-\-data\-in\-code\fR
Print the data in code table for Mach\-O objects (requires \fB\-\-macho\fR)
.TP
\fB\-\-dis\-symname\fR
disassemble just this symbol's instructions (requires \fB\-\-macho\fR)
.TP
\fB\-\-dsym=\fR
Use .dSYM file for debug info
.TP
\fB\-\-dylib\-id\fR
Print the shared library's id for the dylib Mach\-O file (requires \fB\-\-macho\fR)
.TP
\fB\-\-dylibs\-used\fR
Print the shared libraries used for linked Mach\-O files (requires \fB\-\-macho\fR)
.TP
\fB\-\-exports\-trie\fR
Display mach\-o exported symbols
.TP
\fB\-\-full\-leading\-addr\fR
Print full leading address
.TP
\fB\-\-function\-starts\fR
Print the function starts table for Mach\-O objects (requires \fB\-\-macho\fR)
.TP
\fB\-g\fR
Print line information from debug info if available
.TP
\fB\-\-indirect\-symbols\fR
Print indirect symbol table for Mach\-O objects (requires \fB\-\-macho\fR)
.TP
\fB\-\-info\-plist\fR
Print the info plist section as strings for Mach\-O objects (requires \fB\-\-macho\fR)
.TP
\fB\-\-lazy\-bind\fR
Display mach\-o lazy binding info
.TP
\fB\-\-link\-opt\-hints\fR
Print the linker optimization hints for Mach\-O objects (requires \fB\-\-macho\fR)
.TP
\fB\-\-no\-leading\-headers\fR
Print no leading headers
.HP
\fB\-\-no\-symbolic\-operands\fR do not symbolic operands when disassembling (requires \fB\-\-macho\fR)
.TP
\fB\-\-non\-verbose\fR
Print the info for Mach\-O objects in non\-verbose or numeric form (requires \fB\-\-macho\fR)
.TP
\fB\-\-objc\-meta\-data\fR
Print the Objective\-C runtime meta data for Mach\-O files (requires \fB\-\-macho\fR)
.TP
\fB\-\-private\-header\fR
Display only the first format specific file header
.TP
\fB\-\-rebase\fR
Display mach\-o rebasing info
.TP
\fB\-\-rpaths\fR
Print the runtime search paths for the Mach\-O file (requires \fB\-\-macho\fR)
.TP
\fB\-\-universal\-headers\fR
Print Mach\-O universal headers (requires \fB\-\-macho\fR)
.TP
\fB\-\-weak\-bind\fR
Display mach\-o weak binding info
.PP
Pass @FILE as argument to read options from FILE.