LLDB mainline
|
Public Member Functions | |
~MCDisasmInstance ()=default | |
uint64_t | GetMCInst (const uint8_t *opcode_data, size_t opcode_data_len, lldb::addr_t pc, llvm::MCInst &mc_inst) const |
void | PrintMCInst (llvm::MCInst &mc_inst, std::string &inst_string, std::string &comments_string) |
void | SetStyle (bool use_hex_immed, HexImmediateStyle hex_style) |
bool | CanBranch (llvm::MCInst &mc_inst) const |
bool | HasDelaySlot (llvm::MCInst &mc_inst) const |
bool | IsCall (llvm::MCInst &mc_inst) const |
bool | IsLoad (llvm::MCInst &mc_inst) const |
bool | IsAuthenticated (llvm::MCInst &mc_inst) const |
Static Public Member Functions | |
static std::unique_ptr< MCDisasmInstance > | Create (const char *triple, const char *cpu, const char *features_str, unsigned flavor, DisassemblerLLVMC &owner) |
Private Member Functions | |
MCDisasmInstance (std::unique_ptr< llvm::MCInstrInfo > &&instr_info_up, std::unique_ptr< llvm::MCRegisterInfo > &®_info_up, std::unique_ptr< llvm::MCSubtargetInfo > &&subtarget_info_up, std::unique_ptr< llvm::MCAsmInfo > &&asm_info_up, std::unique_ptr< llvm::MCContext > &&context_up, std::unique_ptr< llvm::MCDisassembler > &&disasm_up, std::unique_ptr< llvm::MCInstPrinter > &&instr_printer_up) | |
Private Attributes | |
std::unique_ptr< llvm::MCInstrInfo > | m_instr_info_up |
std::unique_ptr< llvm::MCRegisterInfo > | m_reg_info_up |
std::unique_ptr< llvm::MCSubtargetInfo > | m_subtarget_info_up |
std::unique_ptr< llvm::MCAsmInfo > | m_asm_info_up |
std::unique_ptr< llvm::MCContext > | m_context_up |
std::unique_ptr< llvm::MCDisassembler > | m_disasm_up |
std::unique_ptr< llvm::MCInstPrinter > | m_instr_printer_up |
Definition at line 52 of file DisassemblerLLVMC.cpp.
|
default |
|
private |
Definition at line 1297 of file DisassemblerLLVMC.cpp.
References m_asm_info_up, m_context_up, m_disasm_up, m_instr_info_up, m_instr_printer_up, m_reg_info_up, and m_subtarget_info_up.
bool DisassemblerLLVMC::MCDisasmInstance::CanBranch | ( | llvm::MCInst & | mc_inst | ) | const |
Definition at line 1366 of file DisassemblerLLVMC.cpp.
Referenced by InstructionLLVMC::VisitInstruction().
|
static |
Definition at line 1225 of file DisassemblerLLVMC.cpp.
References DisassemblerLLVMC::SymbolLookupCallback().
Referenced by DisassemblerLLVMC::DisassemblerLLVMC().
uint64_t DisassemblerLLVMC::MCDisasmInstance::GetMCInst | ( | const uint8_t * | opcode_data, |
size_t | opcode_data_len, | ||
lldb::addr_t | pc, | ||
llvm::MCInst & | mc_inst | ||
) | const |
Definition at line 1315 of file DisassemblerLLVMC.cpp.
References DisassemblerLLVMC::m_disasm_up, and pc.
Referenced by InstructionLLVMC::CalculateMnemonicOperandsAndComment(), InstructionLLVMC::Decode(), and InstructionLLVMC::VisitInstruction().
bool DisassemblerLLVMC::MCDisasmInstance::HasDelaySlot | ( | llvm::MCInst & | mc_inst | ) | const |
Definition at line 1372 of file DisassemblerLLVMC.cpp.
Referenced by InstructionLLVMC::VisitInstruction().
bool DisassemblerLLVMC::MCDisasmInstance::IsAuthenticated | ( | llvm::MCInst & | mc_inst | ) | const |
Definition at line 1385 of file DisassemblerLLVMC.cpp.
Referenced by InstructionLLVMC::VisitInstruction().
bool DisassemblerLLVMC::MCDisasmInstance::IsCall | ( | llvm::MCInst & | mc_inst | ) | const |
Definition at line 1377 of file DisassemblerLLVMC.cpp.
Referenced by InstructionLLVMC::VisitInstruction().
bool DisassemblerLLVMC::MCDisasmInstance::IsLoad | ( | llvm::MCInst & | mc_inst | ) | const |
Definition at line 1381 of file DisassemblerLLVMC.cpp.
Referenced by InstructionLLVMC::VisitInstruction().
void DisassemblerLLVMC::MCDisasmInstance::PrintMCInst | ( | llvm::MCInst & | mc_inst, |
std::string & | inst_string, | ||
std::string & | comments_string | ||
) |
Definition at line 1330 of file DisassemblerLLVMC.cpp.
Referenced by InstructionLLVMC::CalculateMnemonicOperandsAndComment().
void DisassemblerLLVMC::MCDisasmInstance::SetStyle | ( | bool | use_hex_immed, |
HexImmediateStyle | hex_style | ||
) |
Definition at line 1353 of file DisassemblerLLVMC.cpp.
References lldb_private::Disassembler::eHexStyleAsm, and lldb_private::Disassembler::eHexStyleC.
Referenced by InstructionLLVMC::CalculateMnemonicOperandsAndComment().
|
private |
Definition at line 83 of file DisassemblerLLVMC.cpp.
Referenced by MCDisasmInstance().
|
private |
Definition at line 84 of file DisassemblerLLVMC.cpp.
Referenced by MCDisasmInstance().
|
private |
Definition at line 85 of file DisassemblerLLVMC.cpp.
Referenced by MCDisasmInstance().
|
private |
Definition at line 80 of file DisassemblerLLVMC.cpp.
Referenced by MCDisasmInstance().
|
private |
Definition at line 86 of file DisassemblerLLVMC.cpp.
Referenced by MCDisasmInstance().
|
private |
Definition at line 81 of file DisassemblerLLVMC.cpp.
Referenced by MCDisasmInstance().
|
private |
Definition at line 82 of file DisassemblerLLVMC.cpp.
Referenced by MCDisasmInstance().