LLDB  mainline
Stoppoint.cpp
Go to the documentation of this file.
1 //===-- Stoppoint.cpp -------------------------------------------*- C++ -*-===//
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 //===----------------------------------------------------------------------===//
8 
10 #include "lldb/lldb-private.h"
11 
12 
13 using namespace lldb;
14 using namespace lldb_private;
15 
16 // Stoppoint constructor
17 Stoppoint::Stoppoint() : m_bid(LLDB_INVALID_BREAK_ID) {}
18 
19 // Destructor
21 
22 break_id_t Stoppoint::GetID() const { return m_bid; }
23 
24 void Stoppoint::SetID(break_id_t bid) { m_bid = bid; }
void SetID(lldb::break_id_t bid)
Definition: Stoppoint.cpp:24
Enumerations for broadcasting.
Definition: SBLaunchInfo.h:14
int32_t break_id_t
Definition: lldb-types.h:88
lldb::break_id_t GetID() const
Definition: Stoppoint.cpp:22
lldb::break_id_t m_bid
Definition: Stoppoint.h:36
Definition: SBAddress.h:15
#define LLDB_INVALID_BREAK_ID
Definition: lldb-defines.h:49