LLDB mainline
lldb_private::SingleStepBreakpointLocationsPredictor Class Reference

#include <EmulateInstruction.h>

Inheritance diagram for lldb_private::SingleStepBreakpointLocationsPredictor:
[legend]

Public Member Functions

 SingleStepBreakpointLocationsPredictor (std::unique_ptr< EmulateInstruction > emulator_up)
virtual llvm::Expected< BreakpointLocationsGetBreakpointLocations ()
virtual llvm::Expected< unsigned > GetBreakpointSize (lldb::addr_t bp_addr)
virtual ~SingleStepBreakpointLocationsPredictor ()=default

Protected Member Functions

llvm::Expected< lldb::addr_tGetNextInstructionAddress ()
llvm::Expected< lldb::addr_tGetBreakpointLocationAddress (lldb::addr_t entry_pc)

Protected Attributes

std::unique_ptr< EmulateInstructionm_emulator_up
bool m_emulation_result = false

Detailed Description

Definition at line 41 of file EmulateInstruction.h.

Constructor & Destructor Documentation

◆ SingleStepBreakpointLocationsPredictor()

lldb_private::SingleStepBreakpointLocationsPredictor::SingleStepBreakpointLocationsPredictor ( std::unique_ptr< EmulateInstruction > emulator_up)
inline

◆ ~SingleStepBreakpointLocationsPredictor()

virtual lldb_private::SingleStepBreakpointLocationsPredictor::~SingleStepBreakpointLocationsPredictor ( )
virtualdefault

Member Function Documentation

◆ GetBreakpointLocationAddress()

llvm::Expected< addr_t > SingleStepBreakpointLocationsPredictor::GetBreakpointLocationAddress ( lldb::addr_t entry_pc)
protected

Definition at line 655 of file EmulateInstruction.cpp.

References m_emulation_result, m_emulator_up, and pc.

Referenced by GetBreakpointLocations().

◆ GetBreakpointLocations()

llvm::Expected< BreakpointLocations > SingleStepBreakpointLocationsPredictor::GetBreakpointLocations ( )
virtual

◆ GetBreakpointSize()

virtual llvm::Expected< unsigned > lldb_private::SingleStepBreakpointLocationsPredictor::GetBreakpointSize ( lldb::addr_t bp_addr)
inlinevirtual

◆ GetNextInstructionAddress()

llvm::Expected< addr_t > SingleStepBreakpointLocationsPredictor::GetNextInstructionAddress ( )
protected

Definition at line 641 of file EmulateInstruction.cpp.

References m_emulator_up, and pc.

Referenced by GetBreakpointLocations().

Member Data Documentation

◆ m_emulation_result

bool lldb_private::SingleStepBreakpointLocationsPredictor::m_emulation_result = false
protected

Definition at line 67 of file EmulateInstruction.h.

Referenced by GetBreakpointLocationAddress(), and GetBreakpointLocations().

◆ m_emulator_up


The documentation for this class was generated from the following files: