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 14 using namespace lldb; 15 using namespace lldb_private; 16 17 //---------------------------------------------------------------------- 18 // Stoppoint constructor 19 //---------------------------------------------------------------------- Stoppoint()20Stoppoint::Stoppoint() : m_bid(LLDB_INVALID_BREAK_ID) {} 21 22 //---------------------------------------------------------------------- 23 // Destructor 24 //---------------------------------------------------------------------- ~Stoppoint()25Stoppoint::~Stoppoint() {} 26 GetID() const27break_id_t Stoppoint::GetID() const { return m_bid; } 28 SetID(break_id_t bid)29void Stoppoint::SetID(break_id_t bid) { m_bid = bid; } 30