32 m_opaque_up = std::make_unique<LineEntry>(*lldb_object_ptr);
44 m_opaque_up = std::make_unique<LineEntry>(lldb_object_ref);
72 return this->
operator bool();
74SBLineEntry::operator bool()
const {
77 return m_opaque_up.get() && m_opaque_up->IsValid();
134 if (lhs_ptr && rhs_ptr)
137 return lhs_ptr == rhs_ptr;
146 if (lhs_ptr && rhs_ptr)
149 return lhs_ptr != rhs_ptr;
158 m_opaque_up = std::make_unique<lldb_private::LineEntry>();
171 m_opaque_up->file.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_private::Stream & ref()
void Clear()
Clears the object state.
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.
FileSpec file
The source file, possibly mapped by the target.source-map setting.
uint32_t line
The source line number, or zero if there is no line number information.