We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
--use-old-text
1 parent 8838c73 commit 6b4ec09Copy full SHA for 6b4ec09
src/tools/opt-dist/src/bolt.rs
@@ -65,8 +65,13 @@ pub fn bolt_optimize(path: &Utf8Path, profile: &LlvmBoltProfile) -> anyhow::Resu
65
.arg("-jump-tables=move")
66
// Fold functions with identical code
67
.arg("-icf=1")
68
+ // The following flag saves about 50 MiB of libLLVM.so size.
69
+ // However, it succeeds very non-deterministically. To avoid frequent artifact size swings,
70
+ // it is kept disabled for now.
71
+ // FIXME(kobzol): try to re-enable this once BOLT in-place rewriting is merged or after
72
+ // we bump LLVM.
73
// Try to reuse old text segments to reduce binary size
- .arg("--use-old-text")
74
+ // .arg("--use-old-text")
75
// Update DWARF debug info in the final binary
76
.arg("-update-debug-sections")
77
// Print optimization statistics
0 commit comments