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 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), 17 m_hit_counter() {} 18 19 StoppointSite::StoppointSite(break_id_t id, addr_t addr, uint32_t byte_size, 20 bool hardware) 21 : m_id(id), m_addr(addr), m_is_hardware_required(hardware), 22 m_byte_size(byte_size), m_hit_counter() {} 23