commit | a9f24582217d245f8d563ba8b0f33809918b9b61 | [log] [tgz] |
---|---|---|
author | Weining Lu <luweining@loongson.cn> | Fri Apr 07 13:38:44 2023 +0800 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Apr 06 22:45:53 2023 -0700 |
tree | a61ba78a37f0ba68fd34ddac356d06ce3d3da451 | |
parent | 2932158416607b90d653939eca4a7dadc2966e73 [diff] |
[libunwind][LoongArch] Restore $r1 before $r4 in `jumpto` $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. Reviewed By: MaskRay, xen0n, #libunwind Differential Revision: https://reviews.llvm.org/D147372 GitOrigin-RevId: ff0aabf14dfa0a369c38f6e267c56a83ee48d647