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

NAME

6       llvm-readelf - GNU-style LLVM Object Reader
7

SYNOPSIS

9       llvm-readelf [options] [input...]
10

DESCRIPTION

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

OPTIONS

19       --all  Equivalent to specifying all the main display options.
20
21       --addrsig
22              Display the address-significance table.
23
24       --arch-specific, -A
25              Display  architecture-specific  information,  e.g.  the  ARM at‐
26              tributes section on ARM.
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 ex‐
63              panded 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       --stack-sizes
128              Display the contents of the stack sizes section(s),  i.e.  pairs
129              of  function names and the size of their stack frames. Currently
130              only implemented for GNU style output.
131
132       --string-dump=<section[,section,...]>, -p
133              Display the specified section(s) as a list of  strings.  section
134              may be a section index or section name.
135
136       --symbols, --syms, -s
137              Display the symbol table.
138
139       --unwind, -u
140              Display unwind information.
141
142       --version
143              Display the version of the llvm-readelf executable.
144
145       --version-info, -V
146              Display version sections.
147
148       @<FILE>
149              Read command-line options from response file <FILE>.
150

EXIT STATUS

152       llvm-readelf  returns  0  under normal operation. It returns a non-zero
153       exit code if there were any errors.
154

SEE ALSO

156       llvm-nm(1), llvm-objdump(1), llvm-readobj(1)
157

AUTHOR

159       Maintained by the LLVM Team (https://llvm.org/).
160
162       2003-2021, LLVM Project
163
164
165
166
16710                                2021-07-22                   LLVM-READELF(1)
Impressum