[libunwind] Fix compilation for the x32 ABI. (#116608)

This would previously fail the static assertions in `UnwindCursor.hpp`
due to `UnwindCursor`'s size not matching `unw_cursor_t`'s size. As is
done for MIPS N32, this just declares the appropriate size in
`__libunwind_config.h`.
This commit is contained in:
Alex Rønne Petersen
2024-12-15 11:57:51 +01:00
committed by GitHub
parent 4c8c130847
commit eb1f9cced9

View File

@@ -53,6 +53,9 @@
# else
# define _LIBUNWIND_CURSOR_SIZE 66
# endif
# elif defined(__ILP32__)
# define _LIBUNWIND_CONTEXT_SIZE 21
# define _LIBUNWIND_CURSOR_SIZE 28
# else
# define _LIBUNWIND_CONTEXT_SIZE 21
# define _LIBUNWIND_CURSOR_SIZE 33