1 llvm-objdump - LLVM's object file dumper
2 ========================================
7 :program:`llvm-objdump` [*commands*] [*options*] [*filenames...*]
11 The :program:`llvm-objdump` utility prints the contents of object files and
12 final linked images named on the command line. If no file name is specified,
13 :program:`llvm-objdump` will attempt to read from *a.out*. If *-* is used as a
14 file name, :program:`llvm-objdump` will process a file on its standard input
19 At least one of the following commands are required, and some commands can be combined with other commands:
21 .. option:: -disassemble
23 Display assembler mnemonics for the machine instructions
27 Display usage information and exit. Does not stack with other commands.
31 Display the relocation entries in the file.
35 Display the content of each section.
37 .. option:: -section-headers
39 Display summaries of the headers for each section.
43 Display the symbol table.
47 Display the version of this program. Does not stack with other commands.
51 :program:`llvm-objdump` supports the following options:
53 .. option:: -arch=<architecture>
55 Specify the architecture to disassemble. see -version for available
60 Create a CFG for every symbol in the object file and write it to a graphviz
63 .. option:: -dsym=<string>
65 Use .dSYM file for debug info.
69 Print line information from debug info if available.
73 Use Mach-O specific object file parser.
75 .. option:: -mattr=<a1,+a2,-a3,...>
77 Target specific attributes.
79 .. option:: -mc-x86-disable-arith-relaxation
81 Disable relaxation of arithmetic instruction for X86.
85 Enable statistics output from program.
87 .. option:: -triple=<string>
89 Target triple to disassemble for, see -version for available targets.
91 .. option:: -x86-asm-syntax=<style>
93 When used with the ``-disassemble`` option, choose style of code to emit from
94 X86 backend. Supported values are:
105 The default disassembly style is **att**.
110 To report bugs, please visit <http://llvm.org/bugs/>.
115 :manpage:`llvm-nm(1)`