diff options
| author | Pietro Albini <pietro@pietroalbini.org> | 2018-08-30 20:15:38 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-08-30 20:15:38 +0200 |
| commit | d52fea8796a18a7e9a41a84f5e0192982c7b31bc (patch) | |
| tree | 1f89e844b040f0d333d096ef5e9f3984f679792b /src/bootstrap | |
| parent | ed076800289a13b097cbdeda1c2d7b649e66c295 (diff) | |
| parent | 84796cbc01efe0f3b12985869c7a3efa88caf9f0 (diff) | |
| download | rust-d52fea8796a18a7e9a41a84f5e0192982c7b31bc.tar.gz rust-d52fea8796a18a7e9a41a84f5e0192982c7b31bc.zip | |
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
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bootstrap/lib.rs b/src/bootstrap/lib.rs index b6a89e1c18f..2725abdc3d9 100644 --- a/src/bootstrap/lib.rs +++ b/src/bootstrap/lib.rs @@ -211,6 +211,7 @@ const LLVM_TOOLS: &[&str] = &[ "llvm-objcopy", // used to transform ELFs into binary format which flashing tools consume "llvm-objdump", // used to disassemble programs "llvm-profdata", // used to inspect and merge files generated by profiles + "llvm-readobj", // used to get information from ELFs/objects that the other tools don't provide "llvm-size", // used to prints the size of the linker sections of a program "llvm-strip", // used to discard symbols from binary files to reduce their size ]; |
