Skip to content

Commit 6e472e4

Browse files
committed
Try changing BOLT flags
1 parent 959b450 commit 6e472e4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,9 @@ pub fn bolt_optimize(
8888
// FIXME(kobzol): try to re-enable this once BOLT in-place rewriting is merged or after
8989
// we bump LLVM.
9090
// Try to reuse old text segments to reduce binary size
91-
// .arg("--use-old-text")
91+
.arg("--use-old-text")
92+
.arg("--no-huge-pages")
93+
.arg("--align-text=64")
9294
// Update DWARF debug info in the final binary
9395
.arg("-update-debug-sections")
9496
// Print optimization statistics

0 commit comments

Comments
 (0)