Commit 42c9797
committed
feat: -Zdebug-name-table to turn debug pub sections off
`.debug_pubnames` and `.debug_pubtypes` are poorly designed and people
seldom use them. However, they take a considerable portion of size in
the final binary. This `-Zdebug-name-table` flag make it possible to
tell to LLVM stop emitting those sections.1 parent 9144d51 commit 42c9797
File tree
5 files changed
+48
-3
lines changed- compiler
- rustc_codegen_llvm/src
- debuginfo
- llvm
- rustc_interface/src
- rustc_llvm/llvm-wrapper
- rustc_session/src
5 files changed
+48
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
877 | 878 | | |
878 | 879 | | |
879 | 880 | | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
880 | 886 | | |
881 | 887 | | |
882 | 888 | | |
| |||
907 | 913 | | |
908 | 914 | | |
909 | 915 | | |
| 916 | + | |
910 | 917 | | |
911 | 918 | | |
912 | 919 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
793 | 793 | | |
794 | 794 | | |
795 | 795 | | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
796 | 806 | | |
797 | 807 | | |
798 | 808 | | |
| |||
1783 | 1793 | | |
1784 | 1794 | | |
1785 | 1795 | | |
| 1796 | + | |
1786 | 1797 | | |
1787 | 1798 | | |
1788 | 1799 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
749 | 749 | | |
750 | 750 | | |
751 | 751 | | |
| 752 | + | |
752 | 753 | | |
753 | 754 | | |
754 | 755 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
719 | 719 | | |
720 | 720 | | |
721 | 721 | | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
722 | 744 | | |
723 | 745 | | |
724 | 746 | | |
| |||
795 | 817 | | |
796 | 818 | | |
797 | 819 | | |
798 | | - | |
| 820 | + | |
| 821 | + | |
799 | 822 | | |
800 | 823 | | |
801 | 824 | | |
802 | 825 | | |
803 | 826 | | |
804 | | - | |
| 827 | + | |
| 828 | + | |
805 | 829 | | |
806 | 830 | | |
807 | 831 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1534 | 1534 | | |
1535 | 1535 | | |
1536 | 1536 | | |
| 1537 | + | |
| 1538 | + | |
1537 | 1539 | | |
1538 | 1540 | | |
1539 | 1541 | | |
| |||
0 commit comments