[Lldb-commits] [lldb] [lldb][Windows] Fix x86_64 default unwind plan (PR #210076)
Charles Zablit via lldb-commits
lldb-commits at lists.llvm.org
Fri Jul 17 06:16:18 PDT 2026
================
@@ -751,21 +751,15 @@ UnwindPlanSP ABIWindows_x86_64::CreateFunctionEntryUnwindPlan() {
// Windows-x86_64 doesn't use %rbp
// No available Unwind information for Windows-x86_64 (section .pdata)
-// Let's use SysV-x86_64 one for now
UnwindPlanSP ABIWindows_x86_64::CreateDefaultUnwindPlan() {
- uint32_t fp_reg_num = dwarf_rbp;
uint32_t sp_reg_num = dwarf_rsp;
uint32_t pc_reg_num = dwarf_rip;
UnwindPlan::Row row;
-
- const int32_t ptr_size = 8;
----------------
charles-zablit wrote:
Not really, I copied the implementation from https://github.com/llvm/llvm-project/blob/a9e5bb572703780e3eea4a2759104a141ea73466/lldb/source/Plugins/ABI/X86/ABISysV_x86_64.cpp#L859-L862
I'm happy to add it back.
https://github.com/llvm/llvm-project/pull/210076
More information about the lldb-commits
mailing list