aboutsummaryrefslogtreecommitdiff
path: root/gcc/print-rtl-function.c
diff options
context:
space:
mode:
authorIain Buclaw <ibuclaw@gdcproject.org>2020-12-31 01:05:01 +0100
committerIain Buclaw <ibuclaw@gdcproject.org>2020-12-31 01:27:06 +0100
commit1af3f4a2893203492cce59b72eff3f7bb4aef04c (patch)
treedbd1963ce9412308ada1f4e24b98ee9b6376c9c5 /gcc/print-rtl-function.c
parent5478fec4455d312396d0756f9048fc478453370d (diff)
downloadgcc-1af3f4a2893203492cce59b72eff3f7bb4aef04c.zip
gcc-1af3f4a2893203492cce59b72eff3f7bb4aef04c.tar.gz
gcc-1af3f4a2893203492cce59b72eff3f7bb4aef04c.tar.bz2
d: Mangled Symbols now back reference types and identifiers
Symbols with extern(D) linkage are now mangled using back references to types and identifiers if these occur more than once in the mangled name as emitted before. This reduces symbol length, especially with chained expressions of templated functions with Voldemort return types. For example, the average symbol length of the 127000+ symbols created by a libphobos unittest build is reduced by a factor of about 3, while the longest symbol shrinks from 416133 to 1142 characters. Reviewed-on: https://github.com/dlang/dmd/pull/12079 gcc/d/ChangeLog: * dmd/MERGE: Merge upstream dmd 2bd4fc3fe.
Diffstat (limited to 'gcc/print-rtl-function.c')
0 files changed, 0 insertions, 0 deletions