library/unwind: Add definitions for loongarch64

This commit is contained in:
zhaixiaojuan 2022-07-06 18:41:14 +08:00 committed by wangrui
parent a5e23115bd
commit 50be2a30cb

View File

@ -75,6 +75,9 @@ pub const unwinder_private_data_size: usize = 20;
#[cfg(all(target_arch = "hexagon", target_os = "linux"))] #[cfg(all(target_arch = "hexagon", target_os = "linux"))]
pub const unwinder_private_data_size: usize = 35; pub const unwinder_private_data_size: usize = 35;
#[cfg(target_arch = "loongarch64")]
pub const unwinder_private_data_size: usize = 2;
#[repr(C)] #[repr(C)]
pub struct _Unwind_Exception { pub struct _Unwind_Exception {
pub exception_class: _Unwind_Exception_Class, pub exception_class: _Unwind_Exception_Class,