[Lldb-commits] [lldb] [lldb][RISCV] Implement trap handler unwind plan (PR #166531)

Georgiy Samoylov via lldb-commits lldb-commits at lists.llvm.org
Tue Nov 18 04:09:26 PST 2025


================
@@ -302,12 +305,90 @@ static lldb::UnwindPlanSP GetAArch64TrapHandlerUnwindPlan(ConstString name) {
   return unwind_plan_sp;
 }
 
-lldb::UnwindPlanSP
-PlatformLinux::GetTrapHandlerUnwindPlan(const llvm::Triple &triple,
-                                        ConstString name) {
+static lldb::UnwindPlanSP GetRISCVTrapHandlerUnwindPlan(ConstString name,
+                                                        uint32_t fp_flags) {
+  if (name != "__vdso_rt_sigreturn")
+    return UnwindPlanSP{};
----------------
sga-sc wrote:

Addressed

https://github.com/llvm/llvm-project/pull/166531


More information about the lldb-commits mailing list