611 llvm::Triple::ArchType arch_type, llvm::codeview::RegisterId register_id) {
613 case llvm::Triple::aarch64:
614 if (
static_cast<uint16_t
>(register_id) <
621 case llvm::Triple::x86:
622 if (
static_cast<uint16_t
>(register_id) <
628 switch (register_id) {
629 case llvm::codeview::RegisterId::MXCSR:
631 case llvm::codeview::RegisterId::BND0:
633 case llvm::codeview::RegisterId::BND1:
635 case llvm::codeview::RegisterId::BND2:
640 case llvm::Triple::x86_64:
641 if (
static_cast<uint16_t
>(register_id) <
655 switch(register_id) {
656 case llvm::codeview::RegisterId::AL:
657 case llvm::codeview::RegisterId::BL:
658 case llvm::codeview::RegisterId::CL:
659 case llvm::codeview::RegisterId::DL:
660 case llvm::codeview::RegisterId::AH:
661 case llvm::codeview::RegisterId::BH:
662 case llvm::codeview::RegisterId::CH:
663 case llvm::codeview::RegisterId::DH:
664 case llvm::codeview::RegisterId::SIL:
665 case llvm::codeview::RegisterId::DIL:
666 case llvm::codeview::RegisterId::BPL:
667 case llvm::codeview::RegisterId::SPL:
668 case llvm::codeview::RegisterId::R8B:
669 case llvm::codeview::RegisterId::R9B:
670 case llvm::codeview::RegisterId::R10B:
671 case llvm::codeview::RegisterId::R11B:
672 case llvm::codeview::RegisterId::R12B:
673 case llvm::codeview::RegisterId::R13B:
674 case llvm::codeview::RegisterId::R14B:
675 case llvm::codeview::RegisterId::R15B:
677 case llvm::codeview::RegisterId::AX:
678 case llvm::codeview::RegisterId::BX:
679 case llvm::codeview::RegisterId::CX:
680 case llvm::codeview::RegisterId::DX:
681 case llvm::codeview::RegisterId::SP:
682 case llvm::codeview::RegisterId::BP:
683 case llvm::codeview::RegisterId::SI:
684 case llvm::codeview::RegisterId::DI:
685 case llvm::codeview::RegisterId::R8W:
686 case llvm::codeview::RegisterId::R9W:
687 case llvm::codeview::RegisterId::R10W:
688 case llvm::codeview::RegisterId::R11W:
689 case llvm::codeview::RegisterId::R12W:
690 case llvm::codeview::RegisterId::R13W:
691 case llvm::codeview::RegisterId::R14W:
692 case llvm::codeview::RegisterId::R15W:
694 case llvm::codeview::RegisterId::EAX:
695 case llvm::codeview::RegisterId::EBX:
696 case llvm::codeview::RegisterId::ECX:
697 case llvm::codeview::RegisterId::EDX:
698 case llvm::codeview::RegisterId::ESP:
699 case llvm::codeview::RegisterId::EBP:
700 case llvm::codeview::RegisterId::ESI:
701 case llvm::codeview::RegisterId::EDI:
702 case llvm::codeview::RegisterId::R8D:
703 case llvm::codeview::RegisterId::R9D:
704 case llvm::codeview::RegisterId::R10D:
705 case llvm::codeview::RegisterId::R11D:
706 case llvm::codeview::RegisterId::R12D:
707 case llvm::codeview::RegisterId::R13D:
708 case llvm::codeview::RegisterId::R14D:
709 case llvm::codeview::RegisterId::R15D:
711 case llvm::codeview::RegisterId::RAX:
712 case llvm::codeview::RegisterId::RBX:
713 case llvm::codeview::RegisterId::RCX:
714 case llvm::codeview::RegisterId::RDX:
715 case llvm::codeview::RegisterId::RSI:
716 case llvm::codeview::RegisterId::RDI:
717 case llvm::codeview::RegisterId::RBP:
718 case llvm::codeview::RegisterId::RSP:
719 case llvm::codeview::RegisterId::R8:
720 case llvm::codeview::RegisterId::R9:
721 case llvm::codeview::RegisterId::R10:
722 case llvm::codeview::RegisterId::R11:
723 case llvm::codeview::RegisterId::R12:
724 case llvm::codeview::RegisterId::R13:
725 case llvm::codeview::RegisterId::R14:
726 case llvm::codeview::RegisterId::R15:
728 case llvm::codeview::RegisterId::XMM0:
729 case llvm::codeview::RegisterId::XMM1:
730 case llvm::codeview::RegisterId::XMM2:
731 case llvm::codeview::RegisterId::XMM3:
732 case llvm::codeview::RegisterId::XMM4:
733 case llvm::codeview::RegisterId::XMM5:
734 case llvm::codeview::RegisterId::XMM6:
735 case llvm::codeview::RegisterId::XMM7:
736 case llvm::codeview::RegisterId::XMM8:
737 case llvm::codeview::RegisterId::XMM9:
738 case llvm::codeview::RegisterId::XMM10:
739 case llvm::codeview::RegisterId::XMM11:
740 case llvm::codeview::RegisterId::XMM12:
741 case llvm::codeview::RegisterId::XMM13:
742 case llvm::codeview::RegisterId::XMM14:
743 case llvm::codeview::RegisterId::XMM15:
static const uint32_t g_code_view_to_lldb_registers_arm64[]
static const uint32_t g_code_view_to_lldb_registers_x86[]
static const uint32_t g_code_view_to_lldb_registers_x86_64[]
#define LLDB_INVALID_REGNUM
uint32_t GetRegisterSize(llvm::codeview::RegisterId register_id)
uint32_t GetLLDBRegisterNumber(llvm::Triple::ArchType arch_type, llvm::codeview::RegisterId register_id)
A class that represents a running process on the host machine.