From dd796c23f4c7822a37e7dd3c09570872d5eea333 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Ber=C3=A1nek?= Date: Thu, 6 Aug 2026 10:33:44 +0200 Subject: [PATCH] Try to use `--use-old-text` --- src/tools/opt-dist/src/bolt.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/opt-dist/src/bolt.rs b/src/tools/opt-dist/src/bolt.rs index 3ee9912b8c26d..7c1ec3caffd40 100644 --- a/src/tools/opt-dist/src/bolt.rs +++ b/src/tools/opt-dist/src/bolt.rs @@ -88,7 +88,7 @@ pub fn bolt_optimize( // FIXME(kobzol): try to re-enable this once BOLT in-place rewriting is merged or after // we bump LLVM. // Try to reuse old text segments to reduce binary size - // .arg("--use-old-text") + .arg("--use-old-text") // Update DWARF debug info in the final binary .arg("-update-debug-sections") // Print optimization statistics