Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b996e5e

Browse files
committed
Change LLVM BOLT flags
1 parent 9339f44 commit b996e5e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎src/bootstrap/bolt.rs‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ pub fn optimize_with_bolt(path: &Path, profile_path: &Path, output_path: &Path)
4949
.arg("-icf=1")
5050
// Update DWARF debug info in the final binary
5151
.arg("-update-debug-sections")
52+
// Try to reuse old text segments to reduce binary size
53+
.arg("--use-old-text")
5254
// Print optimization statistics
5355
.arg("-dyno-stats")
5456
.status()

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /