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