]> xenbits.xensource.com Git - unikraft/libs/libunwind.git/commit
patches: Re-add `UnwindRegistersSave.S` RIP patch RELEASE-0.14.0
authorAndrei Tatar <andrei@unikraft.io>
Wed, 10 May 2023 12:48:22 +0000 (15:48 +0300)
committerUnikraft <monkey@unikraft.io>
Thu, 1 Jun 2023 19:29:55 +0000 (19:29 +0000)
commitb55be718bf54d776563811e24331770e4a31f302
treec99d3ec92bb2abec26370cdff7449732c4bb23be
parentb808bae6e0cda525ecdc751aaacca5c6c1621bb3
patches: Re-add `UnwindRegistersSave.S` RIP patch

The previous patch (removed in 7b56f9b17de72d0e237e4af2bf72635c48389f3c)
was erroneous in its implementation but its intent was valid: when
saving registers in unikraft libunwind should take the return address of
the previous stack frame as the IP of the throwing function.
This patch implements this functionality correctly.

Signed-off-by: Andrei Tatar <andrei@unikraft.io>
Reviewed-by: Stefan Jumarea <stefanjumarea02@gmail.com>
Reviewed-by: Maria Sfiraiala <maria.sfiraiala@gmail.com>
Reviewed-by: Razvan Deaconescu <razvand@unikraft.io>
Approved-by: Eduard Vintilă <eduard.vintila47@gmail.com>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: #7
patches/0001-Save-RIP-from-previous-stack-frame.patch [new file with mode: 0644]