1 //===-- StoppointLocation.cpp -----------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #include "lldb/Breakpoint/StoppointLocation.h"
14 // Other libraries and framework includes
18 using namespace lldb_private;
20 //----------------------------------------------------------------------
21 // StoppointLocation constructor
22 //----------------------------------------------------------------------
23 StoppointLocation::StoppointLocation (break_id_t bid, addr_t addr, bool hardware) :
26 m_hw_preferred(hardware),
27 m_hw_index(LLDB_INVALID_INDEX32),
33 StoppointLocation::StoppointLocation (break_id_t bid, addr_t addr, uint32_t byte_size, bool hardware) :
36 m_hw_preferred(hardware),
37 m_hw_index(LLDB_INVALID_INDEX32),
38 m_byte_size(byte_size),
43 //----------------------------------------------------------------------
45 //----------------------------------------------------------------------
46 StoppointLocation::~StoppointLocation()