#include <cinttypes>
#include "lldb/Breakpoint/BreakpointSite.h"
#include "lldb/Breakpoint/Breakpoint.h"
#include "lldb/Breakpoint/BreakpointLocation.h"
#include "lldb/Utility/Stream.h"
usingnamespacelldb;
usingnamespacelldb_private;
BreakpointSite::BreakpointSite(const BreakpointLocationSP &constituent,
lldb::addr_t addr, bool use_hardware)
: … { … }
BreakpointSite::~BreakpointSite() { … }
break_id_t BreakpointSite::GetNextID() { … }
bool BreakpointSite::ShouldStop(StoppointCallbackContext *context) { … }
bool BreakpointSite::IsBreakpointAtThisSite(lldb::break_id_t bp_id) { … }
void BreakpointSite::Dump(Stream *s) const { … }
void BreakpointSite::GetDescription(Stream *s, lldb::DescriptionLevel level) { … }
bool BreakpointSite::IsInternal() const { … }
uint8_t *BreakpointSite::GetTrapOpcodeBytes() { … }
const uint8_t *BreakpointSite::GetTrapOpcodeBytes() const { … }
size_t BreakpointSite::GetTrapOpcodeMaxByteSize() const { … }
bool BreakpointSite::SetTrapOpcode(const uint8_t *trap_opcode,
uint32_t trap_opcode_size) { … }
uint8_t *BreakpointSite::GetSavedOpcodeBytes() { … }
const uint8_t *BreakpointSite::GetSavedOpcodeBytes() const { … }
bool BreakpointSite::IsEnabled() const { … }
void BreakpointSite::SetEnabled(bool enabled) { … }
void BreakpointSite::AddConstituent(const BreakpointLocationSP &constituent) { … }
size_t BreakpointSite::RemoveConstituent(lldb::break_id_t break_id,
lldb::break_id_t break_loc_id) { … }
size_t BreakpointSite::GetNumberOfConstituents() { … }
BreakpointLocationSP BreakpointSite::GetConstituentAtIndex(size_t index) { … }
bool BreakpointSite::ValidForThisThread(Thread &thread) { … }
void BreakpointSite::BumpHitCounts() { … }
bool BreakpointSite::IntersectsRange(lldb::addr_t addr, size_t size,
lldb::addr_t *intersect_addr,
size_t *intersect_size,
size_t *opcode_offset) const { … }
size_t BreakpointSite::CopyConstituentsList(
BreakpointLocationCollection &out_collection) { … }