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