Fix a bug in the x86_64 architectural default unwindplan
where it was using the wrong register numbering scheme to express where the rbp could be retrieved from. llvm-svn: 194023
This commit is contained in:
parent
7f601b9ae9
commit
00ec491fc6
|
@ -1114,7 +1114,7 @@ ABISysV_x86_64::CreateDefaultUnwindPlan (UnwindPlan &unwind_plan)
|
||||||
UnwindPlan::RowSP row(new UnwindPlan::Row);
|
UnwindPlan::RowSP row(new UnwindPlan::Row);
|
||||||
|
|
||||||
const int32_t ptr_size = 8;
|
const int32_t ptr_size = 8;
|
||||||
row->SetCFARegister (LLDB_REGNUM_GENERIC_FP);
|
row->SetCFARegister (gcc_dwarf_rbp);
|
||||||
row->SetCFAOffset (2 * ptr_size);
|
row->SetCFAOffset (2 * ptr_size);
|
||||||
row->SetOffset (0);
|
row->SetOffset (0);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue