Skip to content

Commit a1ef529

Browse files
committed
document what each tools does
1 parent b5cdf9d commit a1ef529

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/bootstrap/lib.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,11 @@ use cache::{Interned, INTERNER};
200200
use toolstate::ToolState;
201201

202202
const LLVM_TOOLS: &[&str] = &[
203-
"llvm-nm", "llvm-objcopy", "llvm-objdump", "llvm-profdata", "llvm-size",
203+
"llvm-nm", // used to inspect binaries; it shows symbol names, their sizes and visibility
204+
"llvm-objcopy", // used to transform ELFs into binary format which flashing tools consume
205+
"llvm-objdump", // used to disassemble programs
206+
"llvm-profdata", // used to inspect and merge files generated by profiles
207+
"llvm-size", // prints the size of the linker sections of a program
204208
];
205209

206210
/// A structure representing a Rust compiler.

0 commit comments

Comments
 (0)