]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/tools/lldb/source/Breakpoint/Stoppoint.cpp
Merge llvm trunk r351319, resolve conflicts, and update FREEBSD-Xlist.
[FreeBSD/FreeBSD.git] / contrib / llvm / tools / lldb / source / Breakpoint / Stoppoint.cpp
1 //===-- Stoppoint.cpp -------------------------------------------*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9
10 #include "lldb/Breakpoint/Stoppoint.h"
11 #include "lldb/lldb-private.h"
12
13 // C Includes
14 // C++ Includes
15 // Other libraries and framework includes
16 // Project includes
17
18 using namespace lldb;
19 using namespace lldb_private;
20
21 //----------------------------------------------------------------------
22 // Stoppoint constructor
23 //----------------------------------------------------------------------
24 Stoppoint::Stoppoint() : m_bid(LLDB_INVALID_BREAK_ID) {}
25
26 //----------------------------------------------------------------------
27 // Destructor
28 //----------------------------------------------------------------------
29 Stoppoint::~Stoppoint() {}
30
31 break_id_t Stoppoint::GetID() const { return m_bid; }
32
33 void Stoppoint::SetID(break_id_t bid) { m_bid = bid; }