llvm-project/libunwind
Saleem Abdulrasool d6d0b6559e unwind: repair register restoration for OR1K
Currently, OR1K architecture put the program counter at offset 0x128 of
the current `or1k_thread_state_t`. However, the PC is restored after
updating the thread pointer in `r3`, which causes the PC to be fetched
incorrectly.

This patch swaps the order of restoration of `r9` and `r3`, such that
the PC is restored to `r9` using the current thread state.

Patch by Oi Chee Cheung!

Reviewed By: whitequark, compnerd

Differential Revision: https://reviews.llvm.org/D107042
2021-08-02 16:36:37 +00:00
..
cmake [runtimes] Don't try passing --target flags to GCC 2021-07-15 16:52:02 -04:00
docs Bump the trunk major version to 14 2021-07-27 21:58:25 -07:00
include [libunwind] This adds support in libunwind for rv32 hard float 2021-03-02 06:58:24 +05:30
src unwind: repair register restoration for OR1K 2021-08-02 16:36:37 +00:00
test [runtimes] Simplify how we set the target triple 2021-07-16 10:33:39 -04:00
.clang-format
CMakeLists.txt Bump the trunk major version to 14 2021-07-27 21:58:25 -07:00
LICENSE.TXT Fix typos throughout the license files that somehow I and my reviewers 2019-01-21 09:52:34 +00:00