]> git.lizzy.rs Git - rust.git/commit
Revisit implementation of custom unwind resume;
authorVadim Chugunov <vadimcn@gmail.com>
Sun, 18 Oct 2015 21:17:34 +0000 (14:17 -0700)
committerVadim Chugunov <vadimcn@gmail.com>
Mon, 19 Oct 2015 02:57:28 +0000 (19:57 -0700)
commit1da466253c1fe6491f330a4ae5aa56da950928bf
tree8112302450b449276f63b96f8561e23b3fd25234
parent4af89fe3172d1c3153655b55a0659877206e5ddb
Revisit implementation of custom unwind resume;
Rather than injecting a local `_Unwind_Resume` into the current translation unit,
just replace `resume` instruction with a direct call the the `eh_unwind_resume` lang item.
This is likely to be more robust in the face of future LLVM changes, and also allows us to delegate
work back to libgcc's `_Unwind_Resume`.
src/librustc_trans/trans/base.rs
src/librustc_trans/trans/cleanup.rs
src/librustc_trans/trans/common.rs
src/librustc_trans/trans/context.rs
src/librustc_trans/trans/intrinsic.rs