aboutsummaryrefslogtreecommitdiff
path: root/test/link/objcpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-06-17 18:34:11 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-06-17 18:34:11 -0700
commite4092d44426a471ee6097fae24069c72cffdc22a (patch)
treeaee6e1fdda76e737f40fe9c0baed36f86d909c3f /test/link/objcpp
parent2064d86298cf4aefa28ace10d02307ac2f067cbb (diff)
downloadzig-e4092d44426a471ee6097fae24069c72cffdc22a.tar.gz
zig-e4092d44426a471ee6097fae24069c72cffdc22a.zip
stage2: rip out multi-compilation-unit compiler-rt
After doing performance testing, it seems that multi-compilation-unit compiler-rt did not bring the performance improvements that we expected it to. The idea is that it makes linking faster, however, it incurred a cost in the frontend that was not offset by any gains in linking. Furthermore, the single-object compiler-rt (with -ffunction-sections and --gc-sections) ends up being fewer bytes on disk and so it's actually the same or faster linking speed than the multi-compilation-unit version. So we are planning to keep using single-compilation-unit compiler-rt for the foreseeable future, but may experiment with this again in the future, in which case this commit can be reverted.
Diffstat (limited to 'test/link/objcpp')
0 files changed, 0 insertions, 0 deletions