$ra should be restored before $a0, otherwise the baseaddress ($a0) would
be destroyed. See file UnwindRegistersSave.S for reference.
This also makes libcxx and libcxxabi regtest pass for the -DLIBCXXABI_USE_LLVM_UNWINDER=ON build.
Differential D147372
[libunwind][LoongArch] Restore $r1 before $r4 in `jumpto` SixWeining on Apr 1 2023, 2:20 AM. Authored by
Details
$ra should be restored before $a0, otherwise the baseaddress ($a0) would This also makes libcxx and libcxxabi regtest pass for the -DLIBCXXABI_USE_LLVM_UNWINDER=ON build.
Diff Detail
Event Timeline
|