• Home
  • Raw
  • Download

Lines Matching refs:_registers

61   uint32_t  getSP() const          { return _registers.__esp; }  in getSP()
62 void setSP(uint32_t value) { _registers.__esp = value; } in setSP()
63 uint32_t getIP() const { return _registers.__eip; } in getIP()
64 void setIP(uint32_t value) { _registers.__eip = value; } in setIP()
65 uint32_t getEBP() const { return _registers.__ebp; } in getEBP()
66 void setEBP(uint32_t value) { _registers.__ebp = value; } in setEBP()
67 uint32_t getEBX() const { return _registers.__ebx; } in getEBX()
68 void setEBX(uint32_t value) { _registers.__ebx = value; } in setEBX()
69 uint32_t getECX() const { return _registers.__ecx; } in getECX()
70 void setECX(uint32_t value) { _registers.__ecx = value; } in setECX()
71 uint32_t getEDX() const { return _registers.__edx; } in getEDX()
72 void setEDX(uint32_t value) { _registers.__edx = value; } in setEDX()
73 uint32_t getESI() const { return _registers.__esi; } in getESI()
74 void setESI(uint32_t value) { _registers.__esi = value; } in setESI()
75 uint32_t getEDI() const { return _registers.__edi; } in getEDI()
76 void setEDI(uint32_t value) { _registers.__edi = value; } in setEDI()
98 GPRs _registers; member in libunwind::Registers_x86
104 memcpy(&_registers, registers, sizeof(_registers)); in Registers_x86()
108 memset(&_registers, 0, sizeof(_registers)); in Registers_x86()
126 return _registers.__eip; in getRegister()
128 return _registers.__esp; in getRegister()
130 return _registers.__eax; in getRegister()
132 return _registers.__ecx; in getRegister()
134 return _registers.__edx; in getRegister()
136 return _registers.__ebx; in getRegister()
142 return _registers.__ebp; in getRegister()
148 return _registers.__esp; in getRegister()
150 return _registers.__esi; in getRegister()
152 return _registers.__edi; in getRegister()
160 _registers.__eip = value; in setRegister()
163 _registers.__esp = value; in setRegister()
166 _registers.__eax = value; in setRegister()
169 _registers.__ecx = value; in setRegister()
172 _registers.__edx = value; in setRegister()
175 _registers.__ebx = value; in setRegister()
182 _registers.__ebp = value; in setRegister()
189 _registers.__esp = value; in setRegister()
192 _registers.__esi = value; in setRegister()
195 _registers.__edi = value; in setRegister()
268 uint64_t getSP() const { return _registers.__rsp; } in getSP()
269 void setSP(uint64_t value) { _registers.__rsp = value; } in setSP()
270 uint64_t getIP() const { return _registers.__rip; } in getIP()
271 void setIP(uint64_t value) { _registers.__rip = value; } in setIP()
272 uint64_t getRBP() const { return _registers.__rbp; } in getRBP()
273 void setRBP(uint64_t value) { _registers.__rbp = value; } in setRBP()
274 uint64_t getRBX() const { return _registers.__rbx; } in getRBX()
275 void setRBX(uint64_t value) { _registers.__rbx = value; } in setRBX()
276 uint64_t getR12() const { return _registers.__r12; } in getR12()
277 void setR12(uint64_t value) { _registers.__r12 = value; } in setR12()
278 uint64_t getR13() const { return _registers.__r13; } in getR13()
279 void setR13(uint64_t value) { _registers.__r13 = value; } in setR13()
280 uint64_t getR14() const { return _registers.__r14; } in getR14()
281 void setR14(uint64_t value) { _registers.__r14 = value; } in setR14()
282 uint64_t getR15() const { return _registers.__r15; } in getR15()
283 void setR15(uint64_t value) { _registers.__r15 = value; } in setR15()
312 GPRs _registers; member in libunwind::Registers_x86_64
321 memcpy(&_registers, registers, sizeof(_registers)); in Registers_x86_64()
325 memset(&_registers, 0, sizeof(_registers)); in Registers_x86_64()
343 return _registers.__rip; in getRegister()
345 return _registers.__rsp; in getRegister()
347 return _registers.__rax; in getRegister()
349 return _registers.__rdx; in getRegister()
351 return _registers.__rcx; in getRegister()
353 return _registers.__rbx; in getRegister()
355 return _registers.__rsi; in getRegister()
357 return _registers.__rdi; in getRegister()
359 return _registers.__rbp; in getRegister()
361 return _registers.__rsp; in getRegister()
363 return _registers.__r8; in getRegister()
365 return _registers.__r9; in getRegister()
367 return _registers.__r10; in getRegister()
369 return _registers.__r11; in getRegister()
371 return _registers.__r12; in getRegister()
373 return _registers.__r13; in getRegister()
375 return _registers.__r14; in getRegister()
377 return _registers.__r15; in getRegister()
385 _registers.__rip = value; in setRegister()
388 _registers.__rsp = value; in setRegister()
391 _registers.__rax = value; in setRegister()
394 _registers.__rdx = value; in setRegister()
397 _registers.__rcx = value; in setRegister()
400 _registers.__rbx = value; in setRegister()
403 _registers.__rsi = value; in setRegister()
406 _registers.__rdi = value; in setRegister()
409 _registers.__rbp = value; in setRegister()
412 _registers.__rsp = value; in setRegister()
415 _registers.__r8 = value; in setRegister()
418 _registers.__r9 = value; in setRegister()
421 _registers.__r10 = value; in setRegister()
424 _registers.__r11 = value; in setRegister()
427 _registers.__r12 = value; in setRegister()
430 _registers.__r13 = value; in setRegister()
433 _registers.__r14 = value; in setRegister()
436 _registers.__r15 = value; in setRegister()
582 uint64_t getSP() const { return _registers.__r1; } in getSP()
583 void setSP(uint32_t value) { _registers.__r1 = value; } in setSP()
584 uint64_t getIP() const { return _registers.__srr0; } in getIP()
585 void setIP(uint32_t value) { _registers.__srr0 = value; } in setIP()
638 ppc_thread_state_t _registers; member in libunwind::Registers_ppc
646 memcpy(&_registers, static_cast<const uint8_t *>(registers), in Registers_ppc()
647 sizeof(_registers)); in Registers_ppc()
662 memset(&_registers, 0, sizeof(_registers)); in Registers_ppc()
692 return _registers.__srr0; in getRegister()
694 return _registers.__r1; in getRegister()
696 return _registers.__r0; in getRegister()
698 return _registers.__r1; in getRegister()
700 return _registers.__r2; in getRegister()
702 return _registers.__r3; in getRegister()
704 return _registers.__r4; in getRegister()
706 return _registers.__r5; in getRegister()
708 return _registers.__r6; in getRegister()
710 return _registers.__r7; in getRegister()
712 return _registers.__r8; in getRegister()
714 return _registers.__r9; in getRegister()
716 return _registers.__r10; in getRegister()
718 return _registers.__r11; in getRegister()
720 return _registers.__r12; in getRegister()
722 return _registers.__r13; in getRegister()
724 return _registers.__r14; in getRegister()
726 return _registers.__r15; in getRegister()
728 return _registers.__r16; in getRegister()
730 return _registers.__r17; in getRegister()
732 return _registers.__r18; in getRegister()
734 return _registers.__r19; in getRegister()
736 return _registers.__r20; in getRegister()
738 return _registers.__r21; in getRegister()
740 return _registers.__r22; in getRegister()
742 return _registers.__r23; in getRegister()
744 return _registers.__r24; in getRegister()
746 return _registers.__r25; in getRegister()
748 return _registers.__r26; in getRegister()
750 return _registers.__r27; in getRegister()
752 return _registers.__r28; in getRegister()
754 return _registers.__r29; in getRegister()
756 return _registers.__r30; in getRegister()
758 return _registers.__r31; in getRegister()
760 return _registers.__lr; in getRegister()
762 return (_registers.__cr & 0xF0000000); in getRegister()
764 return (_registers.__cr & 0x0F000000); in getRegister()
766 return (_registers.__cr & 0x00F00000); in getRegister()
768 return (_registers.__cr & 0x000F0000); in getRegister()
770 return (_registers.__cr & 0x0000F000); in getRegister()
772 return (_registers.__cr & 0x00000F00); in getRegister()
774 return (_registers.__cr & 0x000000F0); in getRegister()
776 return (_registers.__cr & 0x0000000F); in getRegister()
778 return _registers.__vrsave; in getRegister()
787 _registers.__srr0 = value; in setRegister()
790 _registers.__r1 = value; in setRegister()
793 _registers.__r0 = value; in setRegister()
796 _registers.__r1 = value; in setRegister()
799 _registers.__r2 = value; in setRegister()
802 _registers.__r3 = value; in setRegister()
805 _registers.__r4 = value; in setRegister()
808 _registers.__r5 = value; in setRegister()
811 _registers.__r6 = value; in setRegister()
814 _registers.__r7 = value; in setRegister()
817 _registers.__r8 = value; in setRegister()
820 _registers.__r9 = value; in setRegister()
823 _registers.__r10 = value; in setRegister()
826 _registers.__r11 = value; in setRegister()
829 _registers.__r12 = value; in setRegister()
832 _registers.__r13 = value; in setRegister()
835 _registers.__r14 = value; in setRegister()
838 _registers.__r15 = value; in setRegister()
841 _registers.__r16 = value; in setRegister()
844 _registers.__r17 = value; in setRegister()
847 _registers.__r18 = value; in setRegister()
850 _registers.__r19 = value; in setRegister()
853 _registers.__r20 = value; in setRegister()
856 _registers.__r21 = value; in setRegister()
859 _registers.__r22 = value; in setRegister()
862 _registers.__r23 = value; in setRegister()
865 _registers.__r24 = value; in setRegister()
868 _registers.__r25 = value; in setRegister()
871 _registers.__r26 = value; in setRegister()
874 _registers.__r27 = value; in setRegister()
877 _registers.__r28 = value; in setRegister()
880 _registers.__r29 = value; in setRegister()
883 _registers.__r30 = value; in setRegister()
886 _registers.__r31 = value; in setRegister()
889 _registers.__mq = value; in setRegister()
892 _registers.__lr = value; in setRegister()
895 _registers.__ctr = value; in setRegister()
898 _registers.__cr &= 0x0FFFFFFF; in setRegister()
899 _registers.__cr |= (value & 0xF0000000); in setRegister()
902 _registers.__cr &= 0xF0FFFFFF; in setRegister()
903 _registers.__cr |= (value & 0x0F000000); in setRegister()
906 _registers.__cr &= 0xFF0FFFFF; in setRegister()
907 _registers.__cr |= (value & 0x00F00000); in setRegister()
910 _registers.__cr &= 0xFFF0FFFF; in setRegister()
911 _registers.__cr |= (value & 0x000F0000); in setRegister()
914 _registers.__cr &= 0xFFFF0FFF; in setRegister()
915 _registers.__cr |= (value & 0x0000F000); in setRegister()
918 _registers.__cr &= 0xFFFFF0FF; in setRegister()
919 _registers.__cr |= (value & 0x00000F00); in setRegister()
922 _registers.__cr &= 0xFFFFFF0F; in setRegister()
923 _registers.__cr |= (value & 0x000000F0); in setRegister()
926 _registers.__cr &= 0xFFFFFFF0; in setRegister()
927 _registers.__cr |= (value & 0x0000000F); in setRegister()
930 _registers.__vrsave = value; in setRegister()
935 _registers.__xer = value; in setRegister()
1148 uint64_t getSP() const { return _registers.__r1; } in getSP()
1149 void setSP(uint64_t value) { _registers.__r1 = value; } in setSP()
1150 uint64_t getIP() const { return _registers.__srr0; } in getIP()
1151 void setIP(uint64_t value) { _registers.__srr0 = value; } in setIP()
1204 ppc64_thread_state_t _registers; member in libunwind::Registers_ppc64
1213 memcpy(&_registers, static_cast<const uint8_t *>(registers), in Registers_ppc64()
1214 sizeof(_registers)); in Registers_ppc64()
1215 static_assert(sizeof(_registers) == 312, in Registers_ppc64()
1218 static_cast<const uint8_t *>(registers) + sizeof(_registers), in Registers_ppc64()
1220 static_assert(sizeof(_registers) + in Registers_ppc64()
1226 memset(&_registers, 0, sizeof(_registers)); in Registers_ppc64()
1252 return _registers.__srr0; in getRegister()
1254 return _registers.__r0; in getRegister()
1257 return _registers.__r1; in getRegister()
1259 return _registers.__r2; in getRegister()
1261 return _registers.__r3; in getRegister()
1263 return _registers.__r4; in getRegister()
1265 return _registers.__r5; in getRegister()
1267 return _registers.__r6; in getRegister()
1269 return _registers.__r7; in getRegister()
1271 return _registers.__r8; in getRegister()
1273 return _registers.__r9; in getRegister()
1275 return _registers.__r10; in getRegister()
1277 return _registers.__r11; in getRegister()
1279 return _registers.__r12; in getRegister()
1281 return _registers.__r13; in getRegister()
1283 return _registers.__r14; in getRegister()
1285 return _registers.__r15; in getRegister()
1287 return _registers.__r16; in getRegister()
1289 return _registers.__r17; in getRegister()
1291 return _registers.__r18; in getRegister()
1293 return _registers.__r19; in getRegister()
1295 return _registers.__r20; in getRegister()
1297 return _registers.__r21; in getRegister()
1299 return _registers.__r22; in getRegister()
1301 return _registers.__r23; in getRegister()
1303 return _registers.__r24; in getRegister()
1305 return _registers.__r25; in getRegister()
1307 return _registers.__r26; in getRegister()
1309 return _registers.__r27; in getRegister()
1311 return _registers.__r28; in getRegister()
1313 return _registers.__r29; in getRegister()
1315 return _registers.__r30; in getRegister()
1317 return _registers.__r31; in getRegister()
1319 return (_registers.__cr & 0xF0000000); in getRegister()
1321 return (_registers.__cr & 0x0F000000); in getRegister()
1323 return (_registers.__cr & 0x00F00000); in getRegister()
1325 return (_registers.__cr & 0x000F0000); in getRegister()
1327 return (_registers.__cr & 0x0000F000); in getRegister()
1329 return (_registers.__cr & 0x00000F00); in getRegister()
1331 return (_registers.__cr & 0x000000F0); in getRegister()
1333 return (_registers.__cr & 0x0000000F); in getRegister()
1335 return _registers.__xer; in getRegister()
1337 return _registers.__lr; in getRegister()
1339 return _registers.__ctr; in getRegister()
1341 return _registers.__vrsave; in getRegister()
1349 _registers.__srr0 = value; in setRegister()
1352 _registers.__r0 = value; in setRegister()
1356 _registers.__r1 = value; in setRegister()
1359 _registers.__r2 = value; in setRegister()
1362 _registers.__r3 = value; in setRegister()
1365 _registers.__r4 = value; in setRegister()
1368 _registers.__r5 = value; in setRegister()
1371 _registers.__r6 = value; in setRegister()
1374 _registers.__r7 = value; in setRegister()
1377 _registers.__r8 = value; in setRegister()
1380 _registers.__r9 = value; in setRegister()
1383 _registers.__r10 = value; in setRegister()
1386 _registers.__r11 = value; in setRegister()
1389 _registers.__r12 = value; in setRegister()
1392 _registers.__r13 = value; in setRegister()
1395 _registers.__r14 = value; in setRegister()
1398 _registers.__r15 = value; in setRegister()
1401 _registers.__r16 = value; in setRegister()
1404 _registers.__r17 = value; in setRegister()
1407 _registers.__r18 = value; in setRegister()
1410 _registers.__r19 = value; in setRegister()
1413 _registers.__r20 = value; in setRegister()
1416 _registers.__r21 = value; in setRegister()
1419 _registers.__r22 = value; in setRegister()
1422 _registers.__r23 = value; in setRegister()
1425 _registers.__r24 = value; in setRegister()
1428 _registers.__r25 = value; in setRegister()
1431 _registers.__r26 = value; in setRegister()
1434 _registers.__r27 = value; in setRegister()
1437 _registers.__r28 = value; in setRegister()
1440 _registers.__r29 = value; in setRegister()
1443 _registers.__r30 = value; in setRegister()
1446 _registers.__r31 = value; in setRegister()
1449 _registers.__cr &= 0x0FFFFFFF; in setRegister()
1450 _registers.__cr |= (value & 0xF0000000); in setRegister()
1453 _registers.__cr &= 0xF0FFFFFF; in setRegister()
1454 _registers.__cr |= (value & 0x0F000000); in setRegister()
1457 _registers.__cr &= 0xFF0FFFFF; in setRegister()
1458 _registers.__cr |= (value & 0x00F00000); in setRegister()
1461 _registers.__cr &= 0xFFF0FFFF; in setRegister()
1462 _registers.__cr |= (value & 0x000F0000); in setRegister()
1465 _registers.__cr &= 0xFFFF0FFF; in setRegister()
1466 _registers.__cr |= (value & 0x0000F000); in setRegister()
1469 _registers.__cr &= 0xFFFFF0FF; in setRegister()
1470 _registers.__cr |= (value & 0x00000F00); in setRegister()
1473 _registers.__cr &= 0xFFFFFF0F; in setRegister()
1474 _registers.__cr |= (value & 0x000000F0); in setRegister()
1477 _registers.__cr &= 0xFFFFFFF0; in setRegister()
1478 _registers.__cr |= (value & 0x0000000F); in setRegister()
1481 _registers.__xer = value; in setRegister()
1484 _registers.__lr = value; in setRegister()
1487 _registers.__ctr = value; in setRegister()
1490 _registers.__vrsave = value; in setRegister()
1791 uint64_t getSP() const { return _registers.__sp; } in getSP()
1792 void setSP(uint64_t value) { _registers.__sp = value; } in setSP()
1793 uint64_t getIP() const { return _registers.__pc; } in getIP()
1794 void setIP(uint64_t value) { _registers.__pc = value; } in setIP()
1795 uint64_t getFP() const { return _registers.__fp; } in getFP()
1796 void setFP(uint64_t value) { _registers.__fp = value; } in setFP()
1808 GPRs _registers; member in libunwind::Registers_arm64
1819 memcpy(&_registers, registers, sizeof(_registers)); in Registers_arm64()
1828 memset(&_registers, 0, sizeof(_registers)); in Registers_arm64()
1850 return _registers.__pc; in getRegister()
1852 return _registers.__sp; in getRegister()
1854 return _registers.__ra_sign_state; in getRegister()
1856 return _registers.__x[regNum]; in getRegister()
1862 _registers.__pc = value; in setRegister()
1864 _registers.__sp = value; in setRegister()
1866 _registers.__ra_sign_state = value; in setRegister()
1868 _registers.__x[regNum] = value; in setRegister()
2071 uint32_t getSP() const { return _registers.__sp; } in getSP()
2072 void setSP(uint32_t value) { _registers.__sp = value; } in setSP()
2073 uint32_t getIP() const { return _registers.__pc; } in getIP()
2074 void setIP(uint32_t value) { _registers.__pc = value; } in setIP()
2121 GPRs _registers; member in libunwind::Registers_arm
2158 memcpy(&_registers, registers, sizeof(_registers)); in Registers_arm()
2173 memset(&_registers, 0, sizeof(_registers)); in Registers_arm()
2206 return _registers.__sp; in getRegister()
2209 return _registers.__lr; in getRegister()
2212 return _registers.__pc; in getRegister()
2215 return _registers.__r[regNum]; in getRegister()
2232 _registers.__sp = value; in setRegister()
2237 _registers.__lr = value; in setRegister()
2242 _registers.__pc = value; in setRegister()
2247 _registers.__r[regNum] = value; in setRegister()
2549 uint64_t getSP() const { return _registers.__r[1]; } in getSP()
2550 void setSP(uint32_t value) { _registers.__r[1] = value; } in setSP()
2551 uint64_t getIP() const { return _registers.__pc; } in getIP()
2552 void setIP(uint32_t value) { _registers.__pc = value; } in setIP()
2561 or1k_thread_state_t _registers; member in libunwind::Registers_or1k
2567 memcpy(&_registers, static_cast<const uint8_t *>(registers), in Registers_or1k()
2568 sizeof(_registers)); in Registers_or1k()
2572 memset(&_registers, 0, sizeof(_registers)); in Registers_or1k()
2591 return _registers.__r[regNum - UNW_OR1K_R0]; in getRegister()
2595 return _registers.__pc; in getRegister()
2597 return _registers.__r[1]; in getRegister()
2599 return _registers.__epcr; in getRegister()
2606 _registers.__r[regNum - UNW_OR1K_R0] = value; in setRegister()
2612 _registers.__pc = value; in setRegister()
2615 _registers.__r[1] = value; in setRegister()
2618 _registers.__epcr = value; in setRegister()
2746 uint32_t getSP() const { return _registers.__r[29]; } in getSP()
2747 void setSP(uint32_t value) { _registers.__r[29] = value; } in setSP()
2748 uint32_t getIP() const { return _registers.__pc; } in getIP()
2749 void setIP(uint32_t value) { _registers.__pc = value; } in setIP()
2759 mips_o32_thread_state_t _registers; member in libunwind::Registers_mips_o32
2773 memcpy(&_registers, static_cast<const uint8_t *>(registers), in Registers_mips_o32()
2774 sizeof(_registers)); in Registers_mips_o32()
2778 memset(&_registers, 0, sizeof(_registers)); in Registers_mips_o32()
2806 return _registers.__r[regNum - UNW_MIPS_R0]; in getRegister()
2821 return _registers.__pc; in getRegister()
2823 return _registers.__r[29]; in getRegister()
2825 return _registers.__hi; in getRegister()
2827 return _registers.__lo; in getRegister()
2834 _registers.__r[regNum - UNW_MIPS_R0] = value; in setRegister()
2852 _registers.__pc = value; in setRegister()
2855 _registers.__r[29] = value; in setRegister()
2858 _registers.__hi = value; in setRegister()
2861 _registers.__lo = value; in setRegister()
3068 uint64_t getSP() const { return _registers.__r[29]; } in getSP()
3069 void setSP(uint64_t value) { _registers.__r[29] = value; } in setSP()
3070 uint64_t getIP() const { return _registers.__pc; } in getIP()
3071 void setIP(uint64_t value) { _registers.__pc = value; } in setIP()
3081 mips_newabi_thread_state_t _registers; member in libunwind::Registers_mips_newabi
3090 memcpy(&_registers, static_cast<const uint8_t *>(registers), in Registers_mips_newabi()
3091 sizeof(_registers)); in Registers_mips_newabi()
3095 memset(&_registers, 0, sizeof(_registers)); in Registers_mips_newabi()
3119 return _registers.__r[regNum - UNW_MIPS_R0]; in getRegister()
3123 return _registers.__pc; in getRegister()
3125 return _registers.__r[29]; in getRegister()
3127 return _registers.__hi; in getRegister()
3129 return _registers.__lo; in getRegister()
3136 _registers.__r[regNum - UNW_MIPS_R0] = value; in setRegister()
3142 _registers.__pc = value; in setRegister()
3145 _registers.__r[29] = value; in setRegister()
3148 _registers.__hi = value; in setRegister()
3151 _registers.__lo = value; in setRegister()
3358 uint64_t getSP() const { return _registers.__regs[UNW_SPARC_O6]; } in getSP()
3359 void setSP(uint32_t value) { _registers.__regs[UNW_SPARC_O6] = value; } in setSP()
3360 uint64_t getIP() const { return _registers.__regs[UNW_SPARC_O7]; } in getIP()
3361 void setIP(uint32_t value) { _registers.__regs[UNW_SPARC_O7] = value; } in setIP()
3368 sparc_thread_state_t _registers; member in libunwind::Registers_sparc
3374 memcpy(&_registers, static_cast<const uint8_t *>(registers), in Registers_sparc()
3375 sizeof(_registers)); in Registers_sparc()
3379 memset(&_registers, 0, sizeof(_registers)); in Registers_sparc()
3396 return _registers.__regs[regNum]; in getRegister()
3401 return _registers.__regs[UNW_SPARC_O7]; in getRegister()
3403 return _registers.__regs[UNW_SPARC_O6]; in getRegister()
3410 _registers.__regs[regNum] = value; in setRegister()
3416 _registers.__regs[UNW_SPARC_O7] = value; in setRegister()
3419 _registers.__regs[UNW_SPARC_O6] = value; in setRegister()