32 m_opaque_up = std::make_unique<LineEntry>(*lldb_object_ptr);
44 m_opaque_up = std::make_unique<LineEntry>(lldb_object_ref);
71 bool include_inlined_functions)
const {
77 include_inlined_functions);
87 return this->
operator bool();
89SBLineEntry::operator bool()
const {
92 return m_opaque_up.get() && m_opaque_up->IsValid();
127 ref().
file_sp = std::make_shared<SupportFile>(filespec.
ref());
129 ref().
file_sp = std::make_shared<SupportFile>();
149 if (lhs_ptr && rhs_ptr)
152 return lhs_ptr == rhs_ptr;
161 if (lhs_ptr && rhs_ptr)
164 return lhs_ptr != rhs_ptr;
173 m_opaque_up = std::make_unique<lldb_private::LineEntry>();
186 m_opaque_up->GetFile().GetPath(file_path,
sizeof(file_path));
#define LLDB_INSTRUMENT_VA(...)
bool OffsetAddress(addr_t offset)
void SetAddress(lldb::SBSection section, lldb::addr_t offset)
void SetFileSpec(const lldb_private::FileSpec &fspec)
const lldb_private::FileSpec & ref() const
lldb::SBAddress GetStartAddress() const
lldb_private::LineEntry & ref()
bool GetDescription(lldb::SBStream &description)
void SetLineEntry(const lldb_private::LineEntry &lldb_object_ref)
void SetLine(uint32_t line)
bool operator!=(const lldb::SBLineEntry &rhs) const
lldb_private::LineEntry * get()
uint32_t GetColumn() const
std::unique_ptr< lldb_private::LineEntry > m_opaque_up
const lldb_private::LineEntry * operator->() const
bool operator==(const lldb::SBLineEntry &rhs) const
lldb::SBFileSpec GetFileSpec() const
void SetFileSpec(lldb::SBFileSpec filespec)
void SetColumn(uint32_t column)
lldb::SBAddress GetEndAddress() const
const lldb::SBLineEntry & operator=(const lldb::SBLineEntry &rhs)
lldb::SBAddress GetSameLineContiguousAddressRangeEnd(bool include_inlined_functions) const
lldb_private::Stream & ref()
A section + offset based address range class.
Address & GetBaseAddress()
Get accessor for the base address of the range.
lldb::addr_t GetByteSize() const
Get accessor for the byte size of this range.
A stream class that can stream formatted output to a file.
size_t Printf(const char *format,...) __attribute__((format(printf
Output printf formatted output to the stream.
size_t PutCString(llvm::StringRef cstr)
Output a C string to the stream.
A class that represents a running process on the host machine.
std::unique_ptr< T > clone(const std::unique_ptr< T > &src)
A line table entry class.
static int Compare(const LineEntry &lhs, const LineEntry &rhs)
Compare two LineEntry objects.
uint32_t line
The source line number, or LLDB_INVALID_LINE_NUMBER if there is no line number information.
lldb::SupportFileSP file_sp
The source file, possibly mapped by the target.source-map setting.