diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2018-07-29 03:05:07 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2018-07-29 03:05:07 +0000 |
commit | 1f82d9ba6e46a403a9e50094ea821b075a792d32 (patch) | |
tree | 36f32d8d8ffcdf8c184d2e2836611bb7d84c008f /llvm/lib | |
parent | c0ca8089a27694b39d9a3174a8e5a68826b376a2 (diff) | |
download | bcm5719-llvm-1f82d9ba6e46a403a9e50094ea821b075a792d32.tar.gz bcm5719-llvm-1f82d9ba6e46a403a9e50094ea821b075a792d32.zip |
Revert r337456: [CodeGen] Disable aggressive structor optimizations at -O0, take 3
This commit increases the number of sections and overall output size of
.o files by 10% and sometimes a bit more. This alone is challenging for
some users, but it also appears to trigger an as-yet unexplained
behavior in the Gold linker where the memory usage increases
considerably more than 10% (we think).
The increase is also frustrating because in many (if not all) cases we
end up with almost all of the growth coming from the ELF overhead of
-ffunction-sections and such, not from actual extra code being emitted.
Richard Smith and Eric Christopher are both going to investigate this
and try to get to the bottom of what is triggering this and whether the
kinds of increases here are sustainable or what options we might have to
minimize the impact they have. However, this is currently breaking
a pretty large number of our users' builds so reverting it while we sort
out how to make progress here. I've seen a longer and more detailed
update to the commit thread.
llvm-svn: 338209
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions