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 enum _Unwind_Reason_Code {
#[cfg(all(target_arch = "hexagon", target_os = "linux"))]
pub const unwinder_private_data_size: usize = 35;
#[cfg(target_arch = "loongarch64")]
pub const unwinder_private_data_size: usize = 2;
#[repr(C)]
pub struct _Unwind_Exception {
pub exception_class: _Unwind_Exception_Class,