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
1 changed files with 3 additions and 0 deletions

View File

@ -75,6 +75,9 @@ pub const unwinder_private_data_size: usize = 20;
#[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,