@@ -1054,7 +1054,7 @@ class UnwindCursor : public AbstractUnwindCursor{
1054
1054
const UnwindInfoSections §s,
1055
1055
uint32_t fdeSectionOffsetHint = 0 );
1056
1056
int stepWithDwarfFDE (bool stage2) {
1057
- typename R::reg_t rawPC = this -> getReg (UNW_REG_IP );
1057
+ typename R::reg_t rawPC = _registers. getIP ( );
1058
1058
typename R::link_reg_t pc;
1059
1059
_registers.loadAndAuthenticateLinkRegister (rawPC, &pc);
1060
1060
return DwarfInstructions<A, R>::stepWithDwarf (
@@ -2671,7 +2671,7 @@ void UnwindCursor<A, R>::setInfoBasedOnIPRegister(bool isReturnAddress) {
2671
2671
_isSigReturn = false ;
2672
2672
#endif
2673
2673
2674
- typename R::reg_t rawPC = this -> getReg (UNW_REG_IP );
2674
+ typename R::reg_t rawPC = _registers. getIP ( );
2675
2675
2676
2676
#if defined(_LIBUNWIND_ARM_EHABI)
2677
2677
// Remove the thumb bit so the IP represents the actual instruction address.
@@ -3231,7 +3231,7 @@ void UnwindCursor<A, R>::getInfo(unw_proc_info_t *info) {
3231
3231
template <typename A, typename R>
3232
3232
bool UnwindCursor<A, R>::getFunctionName(char *buf, size_t bufLen,
3233
3233
unw_word_t *offset) {
3234
- typename R::reg_t rawPC = this -> getReg (UNW_REG_IP );
3234
+ typename R::reg_t rawPC = _registers. getIP ( );
3235
3235
typename R::link_reg_t pc;
3236
3236
_registers.loadAndAuthenticateLinkRegister (rawPC, &pc);
3237
3237
0 commit comments