Skip to content

Commit

Permalink
Fixed miscompilation of unw_getcontext() on ARM
Browse files Browse the repository at this point in the history
  • Loading branch information
ian-veego authored and bregma committed May 7, 2024
1 parent d8766d3 commit 0be6732
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/libunwind-arm.h
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ unw_tdep_context_t;
"mov r0, #0\n\t" \
"stmia %[base]!, {r0-r15}\n\t" \
VSTMIA \
: [r0] "=r" (r0) : [base] "r" (unw_base) : "memory"); \
: [r0] "=r" (r0), [base] "+r" (unw_base) : : "memory"); \
(int)r0; })
#else /* __thumb__ */
#define unw_tdep_getcontext(uc) ({ \
Expand Down

0 comments on commit 0be6732

Please sign in to comment.