[PATCH] D144174: [Support][RISCV] Disable use of backtrace() for RISC-V backtraces
Luís Marques via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 2 06:37:42 PST 2023
luismarques added a comment.
In D144174#4141913 <https://reviews.llvm.org/D144174#4141913>, @reames wrote:
> Can you give a bit more context on *why* backtrace is broken? And on which systems you've observed this? This is the first time I'm hearing this.
https://forums.sifive.com/t/how-to-get-backtrace-in-rtos-based-on-risc-v-64/5643/2:
> On RISC-V, the only reliable way to backtrace is to use the EH unwind info. I don’t think that the glibc backtrace() function will work.
I've observed this in Linux glibc RV64 systems (Fedora and Ubuntu).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D144174/new/
https://reviews.llvm.org/D144174
More information about the llvm-commits
mailing list