[libcxx-commits] [PATCH] D78931: [libunwind][RISCV] Track PC separately from RA

Amanieu d'Antras via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon May 4 12:22:08 PDT 2020


Amanieu added a comment.

GCC's implementation is in libgcc/unwind-dw2.c. The relevant code is here <https://github.com/gcc-mirror/gcc/blob/e6b31fc717207565f144aaefa608344789221f07/libgcc/unwind-dw2.c#L128>. The PC is tracked separately in the `ra` field, while the registers are in the `reg` array.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D78931/new/

https://reviews.llvm.org/D78931





More information about the libcxx-commits mailing list