Skip to content

Commit 40e3b80

Browse files
committed
opt-dist: fix deprecated BOLT -icf=1 option
1 parent a69bc17 commit 40e3b80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/opt-dist/src/bolt.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ pub fn bolt_optimize(
8080
// Move jump tables to a separate section
8181
.arg("-jump-tables=move")
8282
// Fold functions with identical code
83-
.arg("-icf=1")
83+
.arg("-icf=all")
8484
// The following flag saves about 50 MiB of libLLVM.so size.
8585
// However, it succeeds very non-deterministically. To avoid frequent artifact size swings,
8686
// it is kept disabled for now.

0 commit comments

Comments
 (0)