about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAriel Ben-Yehuda <ariel.byd@gmail.com>2017-06-20 15:07:47 +0300
committerAriel Ben-Yehuda <ariel.byd@gmail.com>2017-06-20 22:02:49 +0300
commit0b937989599392d42de0a792a91fa7bc0bc53f92 (patch)
tree80de9770f44691bfc2b4a90bec7a3f01761bdad7 /src/rustllvm/RustWrapper.cpp
parent1143eb26a2e405cdccbf6789c89d4581ad969868 (diff)
downloadrust-0b937989599392d42de0a792a91fa7bc0bc53f92.tar.gz
rust-0b937989599392d42de0a792a91fa7bc0bc53f92.zip
mark calls in the unwind path as !noinline
The unwind path is always cold, so that should not have bad performance
implications.  This avoids catastrophic exponential inlining, and also
decreases the size of librustc.so by 1.5% (OTOH, the size of `libstd.so`
increased by 0.5% for some reason).

Fixes #41696.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions