[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 07:48:20 PST 2023


luismarques added a comment.

In D144174#4164652 <https://reviews.llvm.org/D144174#4164652>, @kito-cheng wrote:

> RISC-V GCC has added `-fasynchronous-unwind-tables` to the default option for linux, maybe we should do that on clang side? this should able improve the situation.

Maybe we should do that anyway, but AFAICT it would not improve the GNU `backtrace` situation. When I investigated this I also tried to recompile libgcc itself with frame pointers and that also didn't help. See also my D144178 <https://reviews.llvm.org/D144178>, which I guess will be less needed if your D145164 <https://reviews.llvm.org/D145164> gets merged.


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