diff options
Diffstat (limited to 'libunwind/src/libunwind.cpp')
| -rw-r--r-- | libunwind/src/libunwind.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libunwind/src/libunwind.cpp b/libunwind/src/libunwind.cpp index 31f30f5cd709..1ee58ad1971e 100644 --- a/libunwind/src/libunwind.cpp +++ b/libunwind/src/libunwind.cpp @@ -58,6 +58,8 @@ _LIBUNWIND_HIDDEN int __unw_init_local(unw_cursor_t *cursor, # warning The MIPS architecture is not supported with this ABI and environment! #elif defined(__sparc__) # define REGISTER_KIND Registers_sparc +#elif defined(__riscv) && __riscv_xlen == 64 +# define REGISTER_KIND Registers_riscv #else # error Architecture not supported #endif |
