Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions boulder/src/package/analysis/handler/elf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,10 @@ fn strip(bucket: &BucketMut<'_>, info: &PathInfo) -> Result<(), BoxError> {

let mut command = Command::new(strip);

// The BB address map is only needed in the split debug file; keeping it in
// the runtime ELF inflates libraries by ~8 bytes per basic block.
command.arg("--remove-section=.llvm_bb_addr_map");

if is_executable {
command.arg(&info.path);
} else {
Expand Down
Loading