@@ -1054,7 +1054,7 @@ class UnwindCursor : public AbstractUnwindCursor{
10541054 const UnwindInfoSections §s,
10551055 uint32_t fdeSectionOffsetHint = 0 );
10561056 int stepWithDwarfFDE (bool stage2) {
1057- typename R::reg_t rawPC = this -> getReg (UNW_REG_IP );
1057+ typename R::reg_t rawPC = _registers. getIP ( );
10581058 typename R::link_reg_t pc;
10591059 _registers.loadAndAuthenticateLinkRegister (rawPC, &pc);
10601060 return DwarfInstructions<A, R>::stepWithDwarf (
@@ -2671,7 +2671,7 @@ void UnwindCursor<A, R>::setInfoBasedOnIPRegister(bool isReturnAddress) {
26712671 _isSigReturn = false ;
26722672#endif
26732673
2674- typename R::reg_t rawPC = this -> getReg (UNW_REG_IP );
2674+ typename R::reg_t rawPC = _registers. getIP ( );
26752675
26762676#if defined(_LIBUNWIND_ARM_EHABI)
26772677 // 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) {
32313231template <typename A, typename R>
32323232bool UnwindCursor<A, R>::getFunctionName(char *buf, size_t bufLen,
32333233 unw_word_t *offset) {
3234- typename R::reg_t rawPC = this -> getReg (UNW_REG_IP );
3234+ typename R::reg_t rawPC = _registers. getIP ( );
32353235 typename R::link_reg_t pc;
32363236 _registers.loadAndAuthenticateLinkRegister (rawPC, &pc);
32373237
0 commit comments