blob: 681877efed183db29c7d2be4fbc893474c4a79a3 [file] [log] [blame]
Chris Lattner30fdc8d2010-06-08 16:52:24 +00001//===-- Stoppoint.cpp -------------------------------------------*- C++ -*-===//
2//
Chandler Carruth2946cd72019-01-19 08:50:56 +00003// 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
Chris Lattner30fdc8d2010-06-08 16:52:24 +00006//
7//===----------------------------------------------------------------------===//
8
Chris Lattner30fdc8d2010-06-08 16:52:24 +00009#include "lldb/Breakpoint/Stoppoint.h"
Kate Stoneb9c1b512016-09-06 20:57:50 +000010#include "lldb/lldb-private.h"
Chris Lattner30fdc8d2010-06-08 16:52:24 +000011
Chris Lattner30fdc8d2010-06-08 16:52:24 +000012
13using namespace lldb;
14using namespace lldb_private;
15
16//----------------------------------------------------------------------
17// Stoppoint constructor
18//----------------------------------------------------------------------
Kate Stoneb9c1b512016-09-06 20:57:50 +000019Stoppoint::Stoppoint() : m_bid(LLDB_INVALID_BREAK_ID) {}
Chris Lattner30fdc8d2010-06-08 16:52:24 +000020
21//----------------------------------------------------------------------
22// Destructor
23//----------------------------------------------------------------------
Kate Stoneb9c1b512016-09-06 20:57:50 +000024Stoppoint::~Stoppoint() {}
Chris Lattner30fdc8d2010-06-08 16:52:24 +000025
Kate Stoneb9c1b512016-09-06 20:57:50 +000026break_id_t Stoppoint::GetID() const { return m_bid; }
Chris Lattner30fdc8d2010-06-08 16:52:24 +000027
Kate Stoneb9c1b512016-09-06 20:57:50 +000028void Stoppoint::SetID(break_id_t bid) { m_bid = bid; }