.\" Man page generated from reStructuredText. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "LLVM-OBJDUMP" "1" "2022-07-21" "8" "LLVM" .SH NAME llvm-objdump \- LLVM's object file dumper .SH SYNOPSIS .sp \fBllvm\-objdump\fP [\fIcommands\fP] [\fIoptions\fP] [\fIfilenames...\fP] .SH DESCRIPTION .sp The \fBllvm\-objdump\fP utility prints the contents of object files and final linked images named on the command line. If no file name is specified, \fBllvm\-objdump\fP will attempt to read from \fIa.out\fP\&. If \fI\-\fP is used as a file name, \fBllvm\-objdump\fP will process a file on its standard input stream. .SH COMMANDS .sp At least one of the following commands are required, and some commands can be combined with other commands: .INDENT 0.0 .TP .B \-d, \-disassemble Display assembler mnemonics for the machine instructions. Disassembles all text sections found in the input file(s). .UNINDENT .INDENT 0.0 .TP .B \-D, \-disassemble\-all Display assembler mnemonics for the machine instructions. Disassembles all sections found in the input file(s). .UNINDENT .INDENT 0.0 .TP .B \-help Display usage information and exit. Does not stack with other commands. .UNINDENT .INDENT 0.0 .TP .B \-r Display the relocation entries in the file. .UNINDENT .INDENT 0.0 .TP .B \-s Display the content of each section. .UNINDENT .INDENT 0.0 .TP .B \-section\-headers Display summaries of the headers for each section. .UNINDENT .INDENT 0.0 .TP .B \-t Display the symbol table. .UNINDENT .INDENT 0.0 .TP .B \-version Display the version of this program. Does not stack with other commands. .UNINDENT .SH OPTIONS .sp \fBllvm\-objdump\fP supports the following options: .INDENT 0.0 .TP .B \-arch= Specify the architecture to disassemble. see \fB\-version\fP for available architectures. .UNINDENT .INDENT 0.0 .TP .B \-cfg Create a CFG for every symbol in the object file and write it to a graphviz file (Mach\-O\-only). .UNINDENT .INDENT 0.0 .TP .B \-dsym= Use .dSYM file for debug info. .UNINDENT .INDENT 0.0 .TP .B \-g Print line information from debug info if available. .UNINDENT .INDENT 0.0 .TP .B \-m, \-macho Use Mach\-O specific object file parser. Commands and other options may behave differently when used with \fB\-macho\fP\&. .UNINDENT .INDENT 0.0 .TP .B \-mattr= Target specific attributes. .UNINDENT .INDENT 0.0 .TP .B \-mc\-x86\-disable\-arith\-relaxation Disable relaxation of arithmetic instruction for X86. .UNINDENT .INDENT 0.0 .TP .B \-stats Enable statistics output from program. .UNINDENT .INDENT 0.0 .TP .B \-triple= Target triple to disassemble for, see \fB\-version\fP for available targets. .UNINDENT .INDENT 0.0 .TP .B \-x86\-asm\-syntax=