diff options
| author | Ariel Ben-Yehuda <ariel.byd@gmail.com> | 2017-06-20 15:07:47 +0300 |
|---|---|---|
| committer | Ariel Ben-Yehuda <ariel.byd@gmail.com> | 2017-06-20 22:02:49 +0300 |
| commit | 0b937989599392d42de0a792a91fa7bc0bc53f92 (patch) | |
| tree | 80de9770f44691bfc2b4a90bec7a3f01761bdad7 /src/rustllvm/RustWrapper.cpp | |
| parent | 1143eb26a2e405cdccbf6789c89d4581ad969868 (diff) | |
| download | rust-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
