[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 Feb 16 02:13:59 PST 2023


luismarques added inline comments.


================
Comment at: llvm/lib/Support/Unix/Signals.inc:566
   // Use backtrace() to output a backtrace on Linux systems with glibc.
+  // Don't use it on RISC-V Linux because it's highly unlikely to work but it
+  // may return 1 or 2 entries, preventing the retry with _Unwind_Backtrace
----------------
The "Linux" in the comment will be removed before committing.


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