Skip to content

Commit ce12f32

Browse files
authored
Rollup merge of #53740 - japaric:readobj, r=alexcrichton
add llvm-readobj to llvm-tools-preview Similar to readelf but supports more object formats (it seems). Particularly useful to inspect in detail sections (e.g. their flags) and symbols (e.g. their types). r? @alexcrichton cc @dvc94ch
2 parents 1fa1f72 + 84796cb commit ce12f32

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bootstrap/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ const LLVM_TOOLS: &[&str] = &[
211211
"llvm-objcopy", // used to transform ELFs into binary format which flashing tools consume
212212
"llvm-objdump", // used to disassemble programs
213213
"llvm-profdata", // used to inspect and merge files generated by profiles
214+
"llvm-readobj", // used to get information from ELFs/objects that the other tools don't provide
214215
"llvm-size", // used to prints the size of the linker sections of a program
215216
"llvm-strip", // used to discard symbols from binary files to reduce their size
216217
];

0 commit comments

Comments
 (0)