llvm-project/lldb/source/Breakpoint/Stoppoint.cpp

30 lines
994 B
C++
Raw Normal View History

//===-- Stoppoint.cpp -------------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#include "lldb/Breakpoint/Stoppoint.h"
#include "lldb/lldb-private.h"
using namespace lldb;
using namespace lldb_private;
//----------------------------------------------------------------------
// Stoppoint constructor
//----------------------------------------------------------------------
Stoppoint::Stoppoint() : m_bid(LLDB_INVALID_BREAK_ID) {}
//----------------------------------------------------------------------
// Destructor
//----------------------------------------------------------------------
Stoppoint::~Stoppoint() {}
break_id_t Stoppoint::GetID() const { return m_bid; }
void Stoppoint::SetID(break_id_t bid) { m_bid = bid; }