Lines Matching refs:_msContext

523   CONTEXT              _msContext;  member in libunwind::UnwindCursor
538 _dispContext.ContextRecord = &_msContext; in UnwindCursor()
542 _msContext.ContextFlags = CONTEXT_CONTROL|CONTEXT_INTEGER|CONTEXT_FLOATING_POINT; in UnwindCursor()
544 _msContext.Rax = r.getRegister(UNW_X86_64_RAX); in UnwindCursor()
545 _msContext.Rcx = r.getRegister(UNW_X86_64_RCX); in UnwindCursor()
546 _msContext.Rdx = r.getRegister(UNW_X86_64_RDX); in UnwindCursor()
547 _msContext.Rbx = r.getRegister(UNW_X86_64_RBX); in UnwindCursor()
548 _msContext.Rsp = r.getRegister(UNW_X86_64_RSP); in UnwindCursor()
549 _msContext.Rbp = r.getRegister(UNW_X86_64_RBP); in UnwindCursor()
550 _msContext.Rsi = r.getRegister(UNW_X86_64_RSI); in UnwindCursor()
551 _msContext.Rdi = r.getRegister(UNW_X86_64_RDI); in UnwindCursor()
552 _msContext.R8 = r.getRegister(UNW_X86_64_R8); in UnwindCursor()
553 _msContext.R9 = r.getRegister(UNW_X86_64_R9); in UnwindCursor()
554 _msContext.R10 = r.getRegister(UNW_X86_64_R10); in UnwindCursor()
555 _msContext.R11 = r.getRegister(UNW_X86_64_R11); in UnwindCursor()
556 _msContext.R12 = r.getRegister(UNW_X86_64_R12); in UnwindCursor()
557 _msContext.R13 = r.getRegister(UNW_X86_64_R13); in UnwindCursor()
558 _msContext.R14 = r.getRegister(UNW_X86_64_R14); in UnwindCursor()
559 _msContext.R15 = r.getRegister(UNW_X86_64_R15); in UnwindCursor()
560 _msContext.Rip = r.getRegister(UNW_REG_IP); in UnwindCursor()
566 _msContext.Xmm0 = t.m; in UnwindCursor()
568 _msContext.Xmm1 = t.m; in UnwindCursor()
570 _msContext.Xmm2 = t.m; in UnwindCursor()
572 _msContext.Xmm3 = t.m; in UnwindCursor()
574 _msContext.Xmm4 = t.m; in UnwindCursor()
576 _msContext.Xmm5 = t.m; in UnwindCursor()
578 _msContext.Xmm6 = t.m; in UnwindCursor()
580 _msContext.Xmm7 = t.m; in UnwindCursor()
582 _msContext.Xmm8 = t.m; in UnwindCursor()
584 _msContext.Xmm9 = t.m; in UnwindCursor()
586 _msContext.Xmm10 = t.m; in UnwindCursor()
588 _msContext.Xmm11 = t.m; in UnwindCursor()
590 _msContext.Xmm12 = t.m; in UnwindCursor()
592 _msContext.Xmm13 = t.m; in UnwindCursor()
594 _msContext.Xmm14 = t.m; in UnwindCursor()
596 _msContext.Xmm15 = t.m; in UnwindCursor()
598 _msContext.R0 = r.getRegister(UNW_ARM_R0); in UnwindCursor()
599 _msContext.R1 = r.getRegister(UNW_ARM_R1); in UnwindCursor()
600 _msContext.R2 = r.getRegister(UNW_ARM_R2); in UnwindCursor()
601 _msContext.R3 = r.getRegister(UNW_ARM_R3); in UnwindCursor()
602 _msContext.R4 = r.getRegister(UNW_ARM_R4); in UnwindCursor()
603 _msContext.R5 = r.getRegister(UNW_ARM_R5); in UnwindCursor()
604 _msContext.R6 = r.getRegister(UNW_ARM_R6); in UnwindCursor()
605 _msContext.R7 = r.getRegister(UNW_ARM_R7); in UnwindCursor()
606 _msContext.R8 = r.getRegister(UNW_ARM_R8); in UnwindCursor()
607 _msContext.R9 = r.getRegister(UNW_ARM_R9); in UnwindCursor()
608 _msContext.R10 = r.getRegister(UNW_ARM_R10); in UnwindCursor()
609 _msContext.R11 = r.getRegister(UNW_ARM_R11); in UnwindCursor()
610 _msContext.R12 = r.getRegister(UNW_ARM_R12); in UnwindCursor()
611 _msContext.Sp = r.getRegister(UNW_ARM_SP); in UnwindCursor()
612 _msContext.Lr = r.getRegister(UNW_ARM_LR); in UnwindCursor()
613 _msContext.Pc = r.getRegister(UNW_ARM_IP); in UnwindCursor()
620 _msContext.D[i - UNW_ARM_D0] = d.w; in UnwindCursor()
624 _msContext.X[i - UNW_ARM64_X0] = r.getRegister(i); in UnwindCursor()
625 _msContext.Sp = r.getRegister(UNW_REG_SP); in UnwindCursor()
626 _msContext.Pc = r.getRegister(UNW_REG_IP); in UnwindCursor()
628 _msContext.V[i - UNW_ARM64_D0].D[0] = r.getFloatRegister(i); in UnwindCursor()
639 _dispContext.ContextRecord = &_msContext; in UnwindCursor()
641 _msContext = *context; in UnwindCursor()
662 case UNW_REG_IP: return _msContext.Rip; in getReg()
663 case UNW_X86_64_RAX: return _msContext.Rax; in getReg()
664 case UNW_X86_64_RDX: return _msContext.Rdx; in getReg()
665 case UNW_X86_64_RCX: return _msContext.Rcx; in getReg()
666 case UNW_X86_64_RBX: return _msContext.Rbx; in getReg()
668 case UNW_X86_64_RSP: return _msContext.Rsp; in getReg()
669 case UNW_X86_64_RBP: return _msContext.Rbp; in getReg()
670 case UNW_X86_64_RSI: return _msContext.Rsi; in getReg()
671 case UNW_X86_64_RDI: return _msContext.Rdi; in getReg()
672 case UNW_X86_64_R8: return _msContext.R8; in getReg()
673 case UNW_X86_64_R9: return _msContext.R9; in getReg()
674 case UNW_X86_64_R10: return _msContext.R10; in getReg()
675 case UNW_X86_64_R11: return _msContext.R11; in getReg()
676 case UNW_X86_64_R12: return _msContext.R12; in getReg()
677 case UNW_X86_64_R13: return _msContext.R13; in getReg()
678 case UNW_X86_64_R14: return _msContext.R14; in getReg()
679 case UNW_X86_64_R15: return _msContext.R15; in getReg()
681 case UNW_ARM_R0: return _msContext.R0; in getReg()
682 case UNW_ARM_R1: return _msContext.R1; in getReg()
683 case UNW_ARM_R2: return _msContext.R2; in getReg()
684 case UNW_ARM_R3: return _msContext.R3; in getReg()
685 case UNW_ARM_R4: return _msContext.R4; in getReg()
686 case UNW_ARM_R5: return _msContext.R5; in getReg()
687 case UNW_ARM_R6: return _msContext.R6; in getReg()
688 case UNW_ARM_R7: return _msContext.R7; in getReg()
689 case UNW_ARM_R8: return _msContext.R8; in getReg()
690 case UNW_ARM_R9: return _msContext.R9; in getReg()
691 case UNW_ARM_R10: return _msContext.R10; in getReg()
692 case UNW_ARM_R11: return _msContext.R11; in getReg()
693 case UNW_ARM_R12: return _msContext.R12; in getReg()
695 case UNW_ARM_SP: return _msContext.Sp; in getReg()
696 case UNW_ARM_LR: return _msContext.Lr; in getReg()
698 case UNW_ARM_IP: return _msContext.Pc; in getReg()
700 case UNW_REG_SP: return _msContext.Sp; in getReg()
701 case UNW_REG_IP: return _msContext.Pc; in getReg()
702 default: return _msContext.X[regNum - UNW_ARM64_X0]; in getReg()
712 case UNW_REG_IP: _msContext.Rip = value; break; in setReg()
713 case UNW_X86_64_RAX: _msContext.Rax = value; break; in setReg()
714 case UNW_X86_64_RDX: _msContext.Rdx = value; break; in setReg()
715 case UNW_X86_64_RCX: _msContext.Rcx = value; break; in setReg()
716 case UNW_X86_64_RBX: _msContext.Rbx = value; break; in setReg()
718 case UNW_X86_64_RSP: _msContext.Rsp = value; break; in setReg()
719 case UNW_X86_64_RBP: _msContext.Rbp = value; break; in setReg()
720 case UNW_X86_64_RSI: _msContext.Rsi = value; break; in setReg()
721 case UNW_X86_64_RDI: _msContext.Rdi = value; break; in setReg()
722 case UNW_X86_64_R8: _msContext.R8 = value; break; in setReg()
723 case UNW_X86_64_R9: _msContext.R9 = value; break; in setReg()
724 case UNW_X86_64_R10: _msContext.R10 = value; break; in setReg()
725 case UNW_X86_64_R11: _msContext.R11 = value; break; in setReg()
726 case UNW_X86_64_R12: _msContext.R12 = value; break; in setReg()
727 case UNW_X86_64_R13: _msContext.R13 = value; break; in setReg()
728 case UNW_X86_64_R14: _msContext.R14 = value; break; in setReg()
729 case UNW_X86_64_R15: _msContext.R15 = value; break; in setReg()
731 case UNW_ARM_R0: _msContext.R0 = value; break; in setReg()
732 case UNW_ARM_R1: _msContext.R1 = value; break; in setReg()
733 case UNW_ARM_R2: _msContext.R2 = value; break; in setReg()
734 case UNW_ARM_R3: _msContext.R3 = value; break; in setReg()
735 case UNW_ARM_R4: _msContext.R4 = value; break; in setReg()
736 case UNW_ARM_R5: _msContext.R5 = value; break; in setReg()
737 case UNW_ARM_R6: _msContext.R6 = value; break; in setReg()
738 case UNW_ARM_R7: _msContext.R7 = value; break; in setReg()
739 case UNW_ARM_R8: _msContext.R8 = value; break; in setReg()
740 case UNW_ARM_R9: _msContext.R9 = value; break; in setReg()
741 case UNW_ARM_R10: _msContext.R10 = value; break; in setReg()
742 case UNW_ARM_R11: _msContext.R11 = value; break; in setReg()
743 case UNW_ARM_R12: _msContext.R12 = value; break; in setReg()
745 case UNW_ARM_SP: _msContext.Sp = value; break; in setReg()
746 case UNW_ARM_LR: _msContext.Lr = value; break; in setReg()
748 case UNW_ARM_IP: _msContext.Pc = value; break; in setReg()
750 case UNW_REG_SP: _msContext.Sp = value; break; in setReg()
751 case UNW_REG_IP: _msContext.Pc = value; break; in setReg()
782 case UNW_ARM64_LR: _msContext.X[regNum - UNW_ARM64_X0] = value; break; in setReg()
810 d.w = _msContext.S[regNum - UNW_ARM_S0]; in getFloatReg()
818 d.w = _msContext.D[regNum - UNW_ARM_D0]; in getFloatReg()
823 return _msContext.V[regNum - UNW_ARM64_D0].D[0]; in getFloatReg()
839 _msContext.S[regNum - UNW_ARM_S0] = d.w; in setFloatReg()
847 _msContext.D[regNum - UNW_ARM_D0] = d.w; in setFloatReg()
851 _msContext.V[regNum - UNW_ARM64_D0].D[0] = value; in setFloatReg()
860 RtlRestoreContext(&_msContext, nullptr); in jumpto()