2020-07-26 15:36:28 -04:00
|
|
|
//===-- Stoppoint.cpp -----------------------------------------------------===//
|
2013-08-23 13:46:38 -04:00
|
|
|
//
|
2019-08-20 16:51:52 -04:00
|
|
|
// 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
|
2013-08-23 13:46:38 -04:00
|
|
|
//
|
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
|
|
#include "lldb/Breakpoint/Stoppoint.h"
|
2017-01-02 14:26:05 -05:00
|
|
|
#include "lldb/lldb-private.h"
|
2013-08-23 13:46:38 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
using namespace lldb;
|
|
|
|
|
using namespace lldb_private;
|
|
|
|
|
|
|
|
|
|
// Stoppoint constructor
|
2017-01-02 14:26:05 -05:00
|
|
|
Stoppoint::Stoppoint() : m_bid(LLDB_INVALID_BREAK_ID) {}
|
2013-08-23 13:46:38 -04:00
|
|
|
|
|
|
|
|
// Destructor
|
2017-01-02 14:26:05 -05:00
|
|
|
Stoppoint::~Stoppoint() {}
|
2013-08-23 13:46:38 -04:00
|
|
|
|
2017-01-02 14:26:05 -05:00
|
|
|
break_id_t Stoppoint::GetID() const { return m_bid; }
|
2013-08-23 13:46:38 -04:00
|
|
|
|
2017-01-02 14:26:05 -05:00
|
|
|
void Stoppoint::SetID(break_id_t bid) { m_bid = bid; }
|