1 //===-- StoppointSite.cpp ---------------------------------------------===//
2 //
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
6 //
7 //===----------------------------------------------------------------------===//
8
9 #include "lldb/Breakpoint/StoppointSite.h"
10
11
12 using namespace lldb;
13 using namespace lldb_private;
14
StoppointSite(break_id_t id,addr_t addr,bool hardware)15 StoppointSite::StoppointSite(break_id_t id, addr_t addr, bool hardware)
16 : m_id(id), m_addr(addr), m_is_hardware_required(hardware),
17 m_hardware_index(LLDB_INVALID_INDEX32), m_byte_size(0), m_hit_counter() {}
18
StoppointSite(break_id_t id,addr_t addr,uint32_t byte_size,bool hardware)19 StoppointSite::StoppointSite(break_id_t id, addr_t addr,
20 uint32_t byte_size, bool hardware)
21 : m_id(id), m_addr(addr), m_is_hardware_required(hardware),
22 m_hardware_index(LLDB_INVALID_INDEX32), m_byte_size(byte_size),
23 m_hit_counter() {}
24