about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorMichael Woerister <michaelwoerister@posteo.net>2016-07-18 10:16:19 -0400
committerMichael Woerister <michaelwoerister@posteo.net>2016-07-18 10:21:40 -0400
commit22f77a917147f232d7fa96522ae539fe5b00d7f6 (patch)
treee22f92f816a4f74c4e74031d86dacb9c8ba6a955 /src/libstd/sys/unix/stack_overflow.rs
parentf441bca4993450e4a2f63bac382f9ebc4be274d1 (diff)
downloadrust-22f77a917147f232d7fa96522ae539fe5b00d7f6.tar.gz
rust-22f77a917147f232d7fa96522ae539fe5b00d7f6.zip
Run base::internalize_symbols() even for single-codegen-unit crates.
The initial linkage-assignment (especially for closures) is a conservative one that makes some symbols more visible than they need to be. While this is not a correctness problem, it does force the LLVM inliner to be more conservative too, which results in poor performance. Once translation is based solely on MIR, it will be easier to also make the initial linkage assignment a better fitting one. Until then `internalize_symbols()` does a good job of preventing most performance regressions.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions