Lines Matching refs:rel_pc
66 uint64_t RegsArm::GetAdjustedPc(uint64_t rel_pc, Elf* elf) { in GetAdjustedPc() argument
68 return rel_pc; in GetAdjustedPc()
72 if (rel_pc < load_bias) { in GetAdjustedPc()
73 return rel_pc; in GetAdjustedPc()
75 uint64_t adjusted_rel_pc = rel_pc - load_bias; in GetAdjustedPc()
78 return rel_pc; in GetAdjustedPc()
84 if (rel_pc < 5 || !elf->memory()->Read(adjusted_rel_pc - 5, &value, sizeof(value)) || in GetAdjustedPc()
86 return rel_pc - 2; in GetAdjustedPc()
89 return rel_pc - 4; in GetAdjustedPc()
96 uint64_t RegsArm64::GetAdjustedPc(uint64_t rel_pc, Elf* elf) { in GetAdjustedPc() argument
98 return rel_pc; in GetAdjustedPc()
101 if (rel_pc < 4) { in GetAdjustedPc()
102 return rel_pc; in GetAdjustedPc()
104 return rel_pc - 4; in GetAdjustedPc()
111 uint64_t RegsX86::GetAdjustedPc(uint64_t rel_pc, Elf* elf) { in GetAdjustedPc() argument
113 return rel_pc; in GetAdjustedPc()
116 if (rel_pc == 0) { in GetAdjustedPc()
119 return rel_pc - 1; in GetAdjustedPc()
126 uint64_t RegsX86_64::GetAdjustedPc(uint64_t rel_pc, Elf* elf) { in GetAdjustedPc() argument
128 return rel_pc; in GetAdjustedPc()
131 if (rel_pc == 0) { in GetAdjustedPc()
135 return rel_pc - 1; in GetAdjustedPc()