Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lldb / source / Breakpoint / StoppointSite.cpp
blobba8c48326bdb65cea9fd3a9e21589179d79e91d7
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 //===----------------------------------------------------------------------===//
9 #include "lldb/Breakpoint/StoppointSite.h"
12 using namespace lldb;
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),
17 m_hardware_index(LLDB_INVALID_INDEX32), m_byte_size(0), m_hit_counter() {}
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() {}