blob: b5c8334333cfb624b83028bfe7853e83120df6b3 [file] [log] [blame]
Raphael Isemann80814282020-01-24 08:23:27 +01001//===-- Stoppoint.cpp -----------------------------------------------------===//
Chris Lattner30fdc8d2010-06-08 16:52:24 +00002//
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
Chris Lattner30fdc8d2010-06-08 16:52:24 +000016// Stoppoint constructor
Kate Stoneb9c1b512016-09-06 20:57:50 +000017Stoppoint::Stoppoint() : m_bid(LLDB_INVALID_BREAK_ID) {}
Chris Lattner30fdc8d2010-06-08 16:52:24 +000018
Chris Lattner30fdc8d2010-06-08 16:52:24 +000019// Destructor
Kate Stoneb9c1b512016-09-06 20:57:50 +000020Stoppoint::~Stoppoint() {}
Chris Lattner30fdc8d2010-06-08 16:52:24 +000021
Kate Stoneb9c1b512016-09-06 20:57:50 +000022break_id_t Stoppoint::GetID() const { return m_bid; }
Chris Lattner30fdc8d2010-06-08 16:52:24 +000023
Kate Stoneb9c1b512016-09-06 20:57:50 +000024void Stoppoint::SetID(break_id_t bid) { m_bid = bid; }