diff options
| author | Amanieu d'Antras <amanieu@gmail.com> | 2020-01-27 06:10:10 +0000 |
|---|---|---|
| committer | Amanieu d'Antras <amanieu@gmail.com> | 2020-03-05 17:36:50 +0000 |
| commit | f4f91f0b2f98ddf9ea36c4bc200ebda2cd898230 (patch) | |
| tree | 97d2e63867c5bb5a636c4eb96f79576d625e88f7 /src/libpanic_unwind | |
| parent | d73813ae62a2d7327f1e657f999ea7636c7a402d (diff) | |
| download | rust-f4f91f0b2f98ddf9ea36c4bc200ebda2cd898230.tar.gz rust-f4f91f0b2f98ddf9ea36c4bc200ebda2cd898230.zip | |
Remove eh_unwind_resume lang item
Diffstat (limited to 'src/libpanic_unwind')
| -rw-r--r-- | src/libpanic_unwind/gcc.rs | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/libpanic_unwind/gcc.rs b/src/libpanic_unwind/gcc.rs index 20ae5edaa2a..4fcf048a2cd 100644 --- a/src/libpanic_unwind/gcc.rs +++ b/src/libpanic_unwind/gcc.rs @@ -35,14 +35,6 @@ //! //! Once stack has been unwound down to the handler frame level, unwinding stops //! and the last personality routine transfers control to the catch block. -//! -//! ## `eh_personality` and `eh_unwind_resume` -//! -//! These language items are used by the compiler when generating unwind info. -//! The first one is the personality routine described above. The second one -//! allows compilation target to customize the process of resuming unwind at the -//! end of the landing pads. `eh_unwind_resume` is used only if -//! `custom_unwind_resume` flag in the target options is set. #![allow(private_no_mangle_fns)] @@ -324,8 +316,8 @@ unsafe fn find_eh_action( eh::find_eh_action(lsda, &eh_context, foreign_exception) } -// See docs in the `unwind` module. #[cfg(all( + bootstrap, target_os = "windows", any(target_arch = "x86", target_arch = "x86_64"), target_env = "gnu" |
