libpanic_unwind: UNWIND_DATA_REG for sparc64
This commit is contained in:
parent
ecd0ebb86b
commit
0751743d86
1 changed files with 3 additions and 0 deletions
|
|
@ -133,6 +133,9 @@ const UNWIND_DATA_REG: (i32, i32) = (3, 4); // R3, R4 / X3, X4
|
|||
#[cfg(target_arch = "s390x")]
|
||||
const UNWIND_DATA_REG: (i32, i32) = (6, 7); // R6, R7
|
||||
|
||||
#[cfg(target_arch = "sparc64")]
|
||||
const UNWIND_DATA_REG: (i32, i32) = (24, 25); // I0, I1
|
||||
|
||||
// The following code is based on GCC's C and C++ personality routines. For reference, see:
|
||||
// https://github.com/gcc-mirror/gcc/blob/master/libstdc++-v3/libsupc++/eh_personality.cc
|
||||
// https://github.com/gcc-mirror/gcc/blob/trunk/libgcc/unwind-c.c
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue