1LLVM-OBJDUMP(1)                      LLVM                      LLVM-OBJDUMP(1)
2
3
4

NAME

6       llvm-objdump - LLVM's object file dumper
7

SYNOPSIS

9       llvm-objdump [commands] [options] [filenames...]
10

DESCRIPTION

12       The  llvm-objdump utility prints the contents of object files and final
13       linked images named on the command line. If no file name is  specified,
14       llvm-objdump  will  attempt  to read from a.out. If - is used as a file
15       name, llvm-objdump will process a file on its standard input stream.
16

COMMANDS

18       At least one of the following commands are required, and some  commands
19       can be combined with other commands:
20
21       -d, -disassemble
22              Display assembler mnemonics for the machine instructions. Disas‐
23              sembles all text sections found in the input file(s).
24
25       -D, -disassemble-all
26              Display assembler mnemonics for the machine instructions. Disas‐
27              sembles all sections found in the input file(s).
28
29       -help  Display  usage  information  and exit. Does not stack with other
30              commands.
31
32       -r     Display the relocation entries in the file.
33
34       -s     Display the content of each section.
35
36       -section-headers
37              Display summaries of the headers for each section.
38
39       -t     Display the symbol table.
40
41       -version
42              Display the version of this program. Does not stack  with  other
43              commands.
44

OPTIONS

46       llvm-objdump supports the following options:
47
48       -arch=<architecture>
49              Specify the architecture to disassemble. see -version for avail‐
50              able architectures.
51
52       -cfg   Create a CFG for every symbol in the object file and write it to
53              a graphviz file (Mach-O-only).
54
55       -dsym=<string>
56              Use .dSYM file for debug info.
57
58       -g     Print line information from debug info if available.
59
60       -m, -macho
61              Use  Mach-O  specific  object  file  parser.  Commands and other
62              options may behave differently when used with -macho.
63
64       -mattr=<a1,+a2,-a3,...>
65              Target specific attributes.
66
67       -mc-x86-disable-arith-relaxation
68              Disable relaxation of arithmetic instruction for X86.
69
70       -stats Enable statistics output from program.
71
72       -triple=<string>
73              Target triple to disassemble for,  see  -version  for  available
74              targets.
75
76       -x86-asm-syntax=<style>
77              When  used with the -disassemble option, choose style of code to
78              emit from X86 backend. Supported values are:
79
80                 att    AT&T-style assembly
81
82                 intel  Intel-style assembly
83
84              The default disassembly style is att.
85

BUGS

87       To report bugs, please visit <http://llvm.org/bugs/>.
88

SEE ALSO

90       llvm-nm(1)
91

AUTHOR

93       Maintained by the LLVM Team (https://llvm.org/).
94
96       2003-2019, LLVM Project
97
98
99
100
1018                                 2019-04-25                   LLVM-OBJDUMP(1)
Impressum