about summary refs log tree commit diff
path: root/src/libunwind
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-01-02 07:04:20 +0000
committerbors <bors@rust-lang.org>2020-01-02 07:04:20 +0000
commit766fba3fdca8fe075c370a63d2f76f8407483af5 (patch)
treec45eb7ac06aaf1a149391413b3217797ab19550c /src/libunwind
parent68fdecd0ba798586d657af7a68c8128f5a67650b (diff)
parent057ad39ea85a85f8137772f0e9c5064b8d1d808a (diff)
downloadrust-766fba3fdca8fe075c370a63d2f76f8407483af5.tar.gz
rust-766fba3fdca8fe075c370a63d2f76f8407483af5.zip
Auto merge of #67779 - Amanieu:ehabi_fix, r=Mark-Simulacrum
Update the barrier cache during ARM EHABI unwinding

Fixes #67242

r? @alexcrichton
Diffstat (limited to 'src/libunwind')
-rw-r--r--src/libunwind/libunwind.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libunwind/libunwind.rs b/src/libunwind/libunwind.rs
index c03b6bf416c..087bbb4beb5 100644
--- a/src/libunwind/libunwind.rs
+++ b/src/libunwind/libunwind.rs
@@ -23,6 +23,7 @@ pub type _Unwind_Word = uintptr_t;
 pub type _Unwind_Ptr = uintptr_t;
 pub type _Unwind_Trace_Fn =
     extern "C" fn(ctx: *mut _Unwind_Context, arg: *mut c_void) -> _Unwind_Reason_Code;
+
 #[cfg(target_arch = "x86")]
 pub const unwinder_private_data_size: usize = 5;
 
@@ -152,6 +153,7 @@ if #[cfg(all(any(target_os = "ios", target_os = "netbsd", not(target_arch = "arm
     use _Unwind_VRS_DataRepresentation::*;
 
     pub const UNWIND_POINTER_REG: c_int = 12;
+    pub const UNWIND_SP_REG: c_int = 13;
     pub const UNWIND_IP_REG: c_int = 15;
 
     #[cfg_attr(all(feature = "llvm-libunwind",