Skip to content

Commit a703b85

Browse files
committed
libunwind: Fix compilation for the x32 ABI.
See: llvm/llvm-project#116608
1 parent a9c7714 commit a703b85

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/libunwind/include/__libunwind_config.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@
5353
# else
5454
# define _LIBUNWIND_CURSOR_SIZE 66
5555
# endif
56+
# elif defined(__ILP32__)
57+
# define _LIBUNWIND_CONTEXT_SIZE 21
58+
# define _LIBUNWIND_CURSOR_SIZE 28
5659
# else
5760
# define _LIBUNWIND_CONTEXT_SIZE 21
5861
# define _LIBUNWIND_CURSOR_SIZE 33

0 commit comments

Comments
 (0)