LLDB mainline
|
#include <SBLineEntry.h>
Public Member Functions | |
SBLineEntry () | |
SBLineEntry (const lldb::SBLineEntry &rhs) | |
~SBLineEntry () | |
const lldb::SBLineEntry & | operator= (const lldb::SBLineEntry &rhs) |
lldb::SBAddress | GetStartAddress () const |
lldb::SBAddress | GetEndAddress () const |
lldb::SBAddress | GetSameLineContiguousAddressRangeEnd (bool include_inlined_functions) const |
operator bool () const | |
bool | IsValid () const |
lldb::SBFileSpec | GetFileSpec () const |
uint32_t | GetLine () const |
uint32_t | GetColumn () const |
void | SetFileSpec (lldb::SBFileSpec filespec) |
void | SetLine (uint32_t line) |
void | SetColumn (uint32_t column) |
bool | operator== (const lldb::SBLineEntry &rhs) const |
bool | operator!= (const lldb::SBLineEntry &rhs) const |
bool | GetDescription (lldb::SBStream &description) |
Protected Member Functions | |
lldb_private::LineEntry * | get () |
Private Member Functions | |
const lldb_private::LineEntry * | operator-> () const |
lldb_private::LineEntry & | ref () |
const lldb_private::LineEntry & | ref () const |
SBLineEntry (const lldb_private::LineEntry *lldb_object_ptr) | |
void | SetLineEntry (const lldb_private::LineEntry &lldb_object_ref) |
Private Attributes | |
std::unique_ptr< lldb_private::LineEntry > | m_opaque_up |
Friends | |
class | SBAddress |
class | SBCompileUnit |
class | SBFrame |
class | SBSymbolContext |
Definition at line 18 of file SBLineEntry.h.
SBLineEntry::SBLineEntry | ( | ) |
Definition at line 22 of file SBLineEntry.cpp.
References LLDB_INSTRUMENT_VA.
SBLineEntry::SBLineEntry | ( | const lldb::SBLineEntry & | rhs | ) |
Definition at line 24 of file SBLineEntry.cpp.
References lldb_private::clone(), LLDB_INSTRUMENT_VA, and m_opaque_up.
|
default |
References lldb::operator==().
|
private |
Definition at line 30 of file SBLineEntry.cpp.
References m_opaque_up.
|
protected |
Definition at line 196 of file SBLineEntry.cpp.
References m_opaque_up.
uint32_t SBLineEntry::GetColumn | ( | ) | const |
Definition at line 115 of file SBLineEntry.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_up.
Referenced by GetDescription().
bool SBLineEntry::GetDescription | ( | lldb::SBStream & | description | ) |
Definition at line 179 of file SBLineEntry.cpp.
References GetColumn(), GetLine(), LLDB_INSTRUMENT_VA, m_opaque_up, PATH_MAX, lldb_private::Stream::Printf(), lldb_private::Stream::PutCString(), and lldb::SBStream::ref().
SBAddress SBLineEntry::GetEndAddress | ( | ) | const |
Definition at line 59 of file SBLineEntry.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_up, lldb::SBAddress::OffsetAddress(), and lldb::SBAddress::SetAddress().
SBFileSpec SBLineEntry::GetFileSpec | ( | ) | const |
Definition at line 95 of file SBLineEntry.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_up, and lldb::SBFileSpec::SetFileSpec().
Referenced by lldb::SBCompileUnit::FindLineEntryIndex().
uint32_t SBLineEntry::GetLine | ( | ) | const |
Definition at line 105 of file SBLineEntry.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_up.
Referenced by lldb::SBCompileUnit::FindLineEntryIndex(), and GetDescription().
SBAddress SBLineEntry::GetSameLineContiguousAddressRangeEnd | ( | bool | include_inlined_functions | ) | const |
Definition at line 70 of file SBLineEntry.cpp.
References lldb_private::AddressRange::GetBaseAddress(), lldb_private::AddressRange::GetByteSize(), LLDB_INSTRUMENT_VA, m_opaque_up, lldb::SBAddress::OffsetAddress(), and lldb::SBAddress::SetAddress().
SBAddress SBLineEntry::GetStartAddress | ( | ) | const |
Definition at line 49 of file SBLineEntry.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_up, and lldb::SBAddress::SetAddress().
bool SBLineEntry::IsValid | ( | ) | const |
Definition at line 85 of file SBLineEntry.cpp.
References LLDB_INSTRUMENT_VA.
Referenced by lldb::SBCompileUnit::FindLineEntryIndex(), and lldb::SBSymbolContext::SetLineEntry().
|
explicit |
Definition at line 89 of file SBLineEntry.cpp.
References LLDB_INSTRUMENT_VA.
bool SBLineEntry::operator!= | ( | const lldb::SBLineEntry & | rhs | ) | const |
Definition at line 155 of file SBLineEntry.cpp.
References lldb_private::LineEntry::Compare(), LLDB_INSTRUMENT_VA, and m_opaque_up.
|
private |
Definition at line 167 of file SBLineEntry.cpp.
References m_opaque_up.
const SBLineEntry & SBLineEntry::operator= | ( | const lldb::SBLineEntry & | rhs | ) |
Definition at line 35 of file SBLineEntry.cpp.
References lldb_private::clone(), LLDB_INSTRUMENT_VA, and m_opaque_up.
bool SBLineEntry::operator== | ( | const lldb::SBLineEntry & | rhs | ) | const |
Definition at line 143 of file SBLineEntry.cpp.
References lldb_private::LineEntry::Compare(), LLDB_INSTRUMENT_VA, and m_opaque_up.
|
private |
Definition at line 171 of file SBLineEntry.cpp.
References m_opaque_up.
Referenced by lldb::SBCompileUnit::FindLineEntryIndex(), SetColumn(), SetFileSpec(), SetLine(), and lldb::SBSymbolContext::SetLineEntry().
|
private |
Definition at line 177 of file SBLineEntry.cpp.
References m_opaque_up.
void SBLineEntry::SetColumn | ( | uint32_t | column | ) |
Definition at line 137 of file SBLineEntry.cpp.
References lldb_private::LineEntry::line, LLDB_INSTRUMENT_VA, and ref().
void SBLineEntry::SetFileSpec | ( | lldb::SBFileSpec | filespec | ) |
Definition at line 123 of file SBLineEntry.cpp.
References lldb_private::LineEntry::file_sp, lldb::SBFileSpec::IsValid(), LLDB_INSTRUMENT_VA, ref(), and lldb::SBFileSpec::ref().
void SBLineEntry::SetLine | ( | uint32_t | line | ) |
Definition at line 131 of file SBLineEntry.cpp.
References lldb_private::LineEntry::line, LLDB_INSTRUMENT_VA, and ref().
|
private |
Definition at line 43 of file SBLineEntry.cpp.
References m_opaque_up.
Referenced by lldb::SBAddress::GetLineEntry(), lldb::SBSymbolContext::GetLineEntry(), lldb::SBFrame::GetLineEntry(), and lldb::SBCompileUnit::GetLineEntryAtIndex().
|
friend |
Definition at line 61 of file SBLineEntry.h.
|
friend |
Definition at line 62 of file SBLineEntry.h.
|
friend |
Definition at line 63 of file SBLineEntry.h.
|
friend |
Definition at line 64 of file SBLineEntry.h.
|
private |
Definition at line 76 of file SBLineEntry.h.
Referenced by get(), GetColumn(), GetDescription(), GetEndAddress(), GetFileSpec(), GetLine(), GetSameLineContiguousAddressRangeEnd(), GetStartAddress(), operator!=(), operator->(), operator=(), operator==(), ref(), SBLineEntry(), and SetLineEntry().