Skip to content

Commit e5e9c3b

Browse files
authored
[libunwind] Fix build error because of wrong register size (#167743)
1 parent 782759b commit e5e9c3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libunwind/src/UnwindLevel1.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
void *shstkRegContext = __libunwind_shstk_get_registers((cursor)); \
8383
void *shstkJumpAddress = __libunwind_shstk_get_jump_target(); \
8484
__asm__ volatile("mov x0, %0\n\t" \
85-
"mov x1, wzr\n\t" \
85+
"mov x1, #0\n\t" \
8686
"br %1\n\t" \
8787
: \
8888
: "r"(shstkRegContext), "r"(shstkJumpAddress) \

0 commit comments

Comments
 (0)