Path: blob/main/contrib/llvm-project/lldb/source/Breakpoint/StoppointSite.cpp
39587 views
//===-- StoppointSite.cpp ---------------------------------------------===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//78#include "lldb/Breakpoint/StoppointSite.h"91011using namespace lldb;12using namespace lldb_private;1314StoppointSite::StoppointSite(break_id_t id, addr_t addr, bool hardware)15: m_id(id), m_addr(addr), m_is_hardware_required(hardware), m_byte_size(0),16m_hit_counter() {}1718StoppointSite::StoppointSite(break_id_t id, addr_t addr, uint32_t byte_size,19bool hardware)20: m_id(id), m_addr(addr), m_is_hardware_required(hardware),21m_byte_size(byte_size), m_hit_counter() {}222324