diff options
Diffstat (limited to 'contrib/llvm-project/lldb/source/Breakpoint/StoppointSite.cpp')
-rw-r--r-- | contrib/llvm-project/lldb/source/Breakpoint/StoppointSite.cpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/contrib/llvm-project/lldb/source/Breakpoint/StoppointSite.cpp b/contrib/llvm-project/lldb/source/Breakpoint/StoppointSite.cpp new file mode 100644 index 000000000000..a28b6b927a1f --- /dev/null +++ b/contrib/llvm-project/lldb/source/Breakpoint/StoppointSite.cpp @@ -0,0 +1,22 @@ +//===-- StoppointSite.cpp ---------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +#include "lldb/Breakpoint/StoppointSite.h" + + +using namespace lldb; +using namespace lldb_private; + +StoppointSite::StoppointSite(break_id_t id, addr_t addr, bool hardware) + : m_id(id), m_addr(addr), m_is_hardware_required(hardware), m_byte_size(0), + m_hit_counter() {} + +StoppointSite::StoppointSite(break_id_t id, addr_t addr, uint32_t byte_size, + bool hardware) + : m_id(id), m_addr(addr), m_is_hardware_required(hardware), + m_byte_size(byte_size), m_hit_counter() {} |