diff options
| author | Mark Rousskov <mark.simulacrum@gmail.com> | 2019-12-26 10:02:21 -0500 |
|---|---|---|
| committer | Amanieu d'Antras <amanieu@gmail.com> | 2020-03-02 11:43:06 +0000 |
| commit | d45ce5aed63fb58385705016dfaff1832a58d7c8 (patch) | |
| tree | 35a9bea734e796c0690399f6ebfc5049994b02f3 /src/test/debuginfo/enum-thinlto.rs | |
| parent | 6b2983af1a85d857ae3a9345ac93ba0564ab7a73 (diff) | |
| download | rust-d45ce5aed63fb58385705016dfaff1832a58d7c8.tar.gz rust-d45ce5aed63fb58385705016dfaff1832a58d7c8.zip | |
Inline catching panics into std::catch_unwind
This allows LLVM to inline the happy path, such that catching unwinding is zero-cost when no panic occurs. This also allows us to match the code generated by C++ try/catch.
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions
