1LLVM-READOBJ(1) LLVM LLVM-READOBJ(1)
2
3
4
6 llvm-readobj - LLVM Object Reader
7
9 llvm-readobj [options] [input...]
10
12 The llvm-readobj tool displays low-level format-specific information
13 about one or more object files. The tool and its output is primarily
14 designed for use in FileCheck-based tests.
15
17 If input is "-" or omitted, llvm-readobj reads from standard input.
18 Otherwise, it will read from the specified filenames.
19
20 -help Print a summary of command line options.
21
22 -version
23 Display the version of this program
24
25 -file-headers, -h
26 Display file headers.
27
28 -sections, -s
29 Display all sections.
30
31 -section-data, -sd
32 When used with -sections, display section data for each section
33 shown.
34
35 -section-relocations, -sr
36 When used with -sections, display relocations for each section
37 shown.
38
39 -section-symbols, -st
40 When used with -sections, display symbols for each section
41 shown.
42
43 -relocations, -r
44 Display the relocation entries in the file.
45
46 -symbols, -t
47 Display the symbol table.
48
49 -dyn-symbols
50 Display the dynamic symbol table (only for ELF object files).
51
52 -unwind, -u
53 Display unwind information.
54
55 -expand-relocs
56 When used with -relocations, display each relocation in an ex‐
57 panded multi-line format.
58
59 -dynamic-table
60 Display the ELF .dynamic section table (only for ELF object
61 files).
62
63 -needed-libs
64 Display the needed libraries (only for ELF object files).
65
66 -program-headers
67 Display the ELF program headers (only for ELF object files).
68
69 -elf-section-groups, -g
70 Display section groups (only for ELF object files).
71
73 llvm-readobj returns 0.
74
76 Maintained by The LLVM Team (http://llvm.org/).
77
79 2003-2022, LLVM Project
80
81
82
83
847 2022-01-08 LLVM-READOBJ(1)