mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-16 13:18:12 +01:00
x86_64: support for RIP in unw_get_save_loc (#66)
Returns the location of RIP through unw_get_save_loc().
This commit is contained in:
parent
05d814b640
commit
7f04c2032f
1 changed files with 1 additions and 0 deletions
|
@ -44,6 +44,7 @@ unw_get_save_loc (unw_cursor_t *cursor, int reg, unw_save_loc_t *sloc)
|
|||
case UNW_X86_64_R13: loc = c->dwarf.loc[R13]; break;
|
||||
case UNW_X86_64_R14: loc = c->dwarf.loc[R14]; break;
|
||||
case UNW_X86_64_R15: loc = c->dwarf.loc[R15]; break;
|
||||
case UNW_X86_64_RIP: loc = c->dwarf.loc[RIP]; break;
|
||||
|
||||
default:
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue