1LLVM-READELF(1) LLVM LLVM-READELF(1)
2
3
4
6 llvm-readelf - GNU-style LLVM Object Reader
7
9 llvm-readelf [options] [input...]
10
12 The llvm-readelf tool displays low-level format-specific information
13 about one or more object files.
14
15 If input is "-" or omitted, llvm-readelf reads from standard input.
16 Otherwise, it will read from the specified filenames.
17
19 --all Equivalent to specifying all the main display options.
20
21 --addrsig
22 Display the address-significance table.
23
24 --arm-attributes
25 Display the ARM attributes section. Only applicable for ARM
26 architectures.
27
28 --color
29 Use colors in the output for warnings and errors.
30
31 --demangle, -C
32 Display demangled symbol names in the output.
33
34 --dyn-relocations
35 Display the dynamic relocation entries.
36
37 --dyn-symbols, --dyn-syms
38 Display the dynamic symbol table.
39
40 --dynamic-table, --dynamic, -d
41 Display the dynamic table.
42
43 --elf-cg-profile
44 Display the callgraph profile section.
45
46 --elf-hash-histogram, --histogram, -I
47 Display a bucket list histogram for dynamic symbol hash tables.
48
49 --elf-linker-options
50 Display the linker options section.
51
52 --elf-output-style=<value>
53 Format ELF information in the specified style. Valid options are
54 LLVM and GNU. LLVM output is an expanded and structured format,
55 whilst GNU (the default) output mimics the equivalent GNU read‐
56 elf output.
57
58 --elf-section-groups, --section-groups, -g
59 Display section groups.
60
61 --expand-relocs
62 When used with --relocations, display each relocation in an
63 expanded multi-line format.
64
65 --file-headers, -h
66 Display file headers.
67
68 --gnu-hash-table
69 Display the GNU hash table for dynamic symbols.
70
71 --hash-symbols
72 Display the expanded hash table with dynamic symbol data.
73
74 --hash-table
75 Display the hash table for dynamic symbols.
76
77 --headers, -e
78 Equivalent to setting: --file-headers, --program-headers, and
79 --sections.
80
81 --help Display a summary of command line options.
82
83 --help-list
84 Display an uncategorized summary of command line options.
85
86 --hex-dump=<section[,section,...]>, -x
87 Display the specified section(s) as hexadecimal bytes. section
88 may be a section index or section name.
89
90 --needed-libs
91 Display the needed libraries.
92
93 --notes, -n
94 Display all notes.
95
96 --program-headers, --segments, -l
97 Display the program headers.
98
99 --raw-relr
100 Do not decode relocations in RELR relocation sections when dis‐
101 playing them.
102
103 --relocations, --relocs, -r
104 Display the relocation entries in the file.
105
106 --sections, --section-headers, -S
107 Display all sections.
108
109 --section-data
110 When used with --sections, display section data for each section
111 shown. This option has no effect for GNU style output.
112
113 --section-mapping
114 Display the section to segment mapping.
115
116 --section-relocations
117 When used with --sections, display relocations for each section
118 shown. This option has no effect for GNU style output.
119
120 --section-symbols
121 When used with --sections, display symbols for each section
122 shown. This option has no effect for GNU style output.
123
124 --stackmap
125 Display contents of the stackmap section.
126
127 --string-dump=<section[,section,...]>, -p
128 Display the specified section(s) as a list of strings. section
129 may be a section index or section name.
130
131 --symbols, --syms, -s
132 Display the symbol table.
133
134 --unwind, -u
135 Display unwind information.
136
137 --version
138 Display the version of this program.
139
140 --version-info, -V
141 Display version sections.
142
143 @<FILE>
144 Read command-line options from response file <FILE>.
145
147 llvm-readelf returns 0 under normal operation. It returns a non-zero
148 exit code if there were any errors.
149
151 llvm-nm(1), llvm-objdump(1), llvm-readobj(1)
152
154 Maintained by the LLVM Team (https://llvm.org/).
155
157 2003-2019, LLVM Project
158
159
160
161
1629 2019-09-19 LLVM-READELF(1)