1 //===-- StoppointSite.cpp ---------------------------------------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 #include "lldb/Breakpoint/StoppointSite.h"
13 using namespace lldb_private
;
15 StoppointSite::StoppointSite(break_id_t id
, addr_t addr
, bool hardware
)
16 : m_id(id
), m_addr(addr
), m_is_hardware_required(hardware
), m_byte_size(0),
19 StoppointSite::StoppointSite(break_id_t id
, addr_t addr
, uint32_t byte_size
,
21 : m_id(id
), m_addr(addr
), m_is_hardware_required(hardware
),
22 m_byte_size(byte_size
), m_hit_counter() {}