[PATCH] D148499: [RISC-V libunwind]:Fix RISC-V backtrace issue

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 18 20:14:24 PDT 2023


MaskRay added a comment.

Do you know how to test this? The code looks reasonable, but I'd like to reproduce the issue... I may need a RISC-V image (with gcc,gdb,etc) which can run in qemu-system. On the non-riscv host I'll need some `LLVM_ENABLE_RUNTIMES` way to cross compile for RISC-V.



================
Comment at: libunwind/src/UnwindCursor.hpp:2860
+int UnwindCursor<A, R>::stepThroughSigReturn(Registers_riscv &) {
+
+  const pint_t kOffsetSpToSigcontext = 176;
----------------
delete this blank line


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D148499



More information about the llvm-commits mailing list