Commit 6fe878a
authored
[BOLT] Modify warning when --use-old-text fails. NFC (#162731)
When --use-old-text fails, we are emitting all code meant for the
original `.text` section into the new section. This could be more bytes
compared to those emitted under no `--use-old-text`, especially under
`--lite`. As a result, `--use-old-text` results in a larger binary, not
smaller which could be confusing to the user.
Add more information to the warning, including recommendation to rebuild
without `--use-old-text` for smaller binary size.1 parent ddd7fc3 commit 6fe878a
1 file changed
+6
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4005 | 4005 | | |
4006 | 4006 | | |
4007 | 4007 | | |
4008 | | - | |
4009 | | - | |
4010 | | - | |
4011 | | - | |
| 4008 | + | |
| 4009 | + | |
| 4010 | + | |
| 4011 | + | |
| 4012 | + | |
| 4013 | + | |
4012 | 4014 | | |
4013 | 4015 | | |
4014 | 4016 | | |
| |||
0 commit comments