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:
Jason Molenda 2013-11-04 22:57:40 +00:00
parent 7f601b9ae9
commit 00ec491fc6
1 changed files with 1 additions and 1 deletions

View File

@ -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);