LLDB mainline
|
#include <EmulateInstruction.h>
Public Member Functions | |
SingleStepBreakpointLocationsPredictor (std::unique_ptr< EmulateInstruction > emulator_up) | |
virtual BreakpointLocations | GetBreakpointLocations (Status &status) |
virtual llvm::Expected< unsigned > | GetBreakpointSize (lldb::addr_t bp_addr) |
virtual | ~SingleStepBreakpointLocationsPredictor ()=default |
Protected Member Functions | |
lldb::addr_t | GetNextInstructionAddress (Status &error) |
lldb::addr_t | GetBreakpointLocationAddress (lldb::addr_t entry_pc, Status &error) |
Protected Attributes | |
std::unique_ptr< EmulateInstruction > | m_emulator_up |
bool | m_emulation_result = false |
Definition at line 41 of file EmulateInstruction.h.
|
inline |
Definition at line 43 of file EmulateInstruction.h.
References m_emulator_up.
Referenced by lldb_private::ARMSingleStepBreakpointLocationsPredictor::ARMSingleStepBreakpointLocationsPredictor(), and lldb_private::RISCVSingleStepBreakpointLocationsPredictor::RISCVSingleStepBreakpointLocationsPredictor().
|
virtualdefault |
References error().
|
protected |
Definition at line 659 of file EmulateInstruction.cpp.
References error(), LLDB_INVALID_ADDRESS, m_emulation_result, m_emulator_up, pc, and lldb_private::Status.
Referenced by GetBreakpointLocations().
|
virtual |
Reimplemented in lldb_private::RISCVSingleStepBreakpointLocationsPredictor.
Definition at line 620 of file EmulateInstruction.cpp.
References GetBreakpointLocationAddress(), GetNextInstructionAddress(), m_emulation_result, m_emulator_up, and lldb_private::Status.
Referenced by lldb_private::RISCVSingleStepBreakpointLocationsPredictor::GetBreakpointLocations().
|
inlinevirtual |
Reimplemented in lldb_private::ARMSingleStepBreakpointLocationsPredictor, and lldb_private::RISCVSingleStepBreakpointLocationsPredictor.
Definition at line 50 of file EmulateInstruction.h.
|
protected |
Definition at line 640 of file EmulateInstruction.cpp.
References error(), LLDB_INVALID_ADDRESS, m_emulator_up, pc, and lldb_private::Status.
Referenced by GetBreakpointLocations().
|
protected |
Definition at line 67 of file EmulateInstruction.h.
Referenced by GetBreakpointLocationAddress(), and GetBreakpointLocations().
|
protected |
Definition at line 66 of file EmulateInstruction.h.
Referenced by GetBreakpointLocationAddress(), lldb_private::RISCVSingleStepBreakpointLocationsPredictor::GetBreakpointLocations(), GetBreakpointLocations(), lldb_private::ARMSingleStepBreakpointLocationsPredictor::GetBreakpointSize(), lldb_private::RISCVSingleStepBreakpointLocationsPredictor::GetBreakpointSize(), GetNextInstructionAddress(), lldb_private::RISCVSingleStepBreakpointLocationsPredictor::HandleAtomicSequence(), and SingleStepBreakpointLocationsPredictor().