Go to the documentation of this file.
31 AddressResolverFileLine::AddressResolverFileLine(
49 for (
uint32_t i = 0; i < sc_list_size; i++) {
59 "error: Unable to resolve address at file address 0x%" PRIx64
77 "File and line address - file: \"%s\" line: %u",
FileSpec GetFileSpec() const
Address & GetBaseAddress()
Get accessor for the base address of the range.
CompileUnit * comp_unit
The CompileUnit for a given query.
std::vector< AddressRange > m_address_ranges
bool IsValid() const
Check if the object state is valid.
#define LLDB_LOGF(log,...)
lldb::addr_t GetByteSize() const
Get accessor for the byte size of this range.
bool GetContextAtIndex(size_t idx, SymbolContext &sc) const
Get accessor for a symbol context at index idx.
const char * AsCString(const char *value_if_empty=nullptr) const
Get the string value as a C string.
Searcher::CallbackReturn SearchCallback(SearchFilter &filter, SymbolContext &context, Address *addr) override
General Outline: Provides the callback and search depth for the SearchFilter search.
SourceLocationSpec m_src_location_spec
lldb::addr_t GetFileAddress() const
Get the file address.
uint32_t GetSize() const
Get accessor for a symbol context list size.
void GetDescription(Stream *s) override
Prints a canonical description for the searcher to the stream s.
lldb::SearchDepth GetDepth() override
General Outline: The AddressResolver is a Searcher.
~AddressResolverFileLine() override
AddressRange range
The section offset address range for this line entry.
void ResolveSymbolContext(const SourceLocationSpec &src_location_spec, lldb::SymbolContextItem resolve_scope, SymbolContextList &sc_list)
Resolve symbol contexts by file and line.
size_t Printf(const char *format,...) __attribute__((format(printf
Output printf formatted output to the stream.
A class that represents a running process on the host machine.
LineEntry line_entry
The LineEntry for a given query.
Log * GetLog(Cat mask)
Retrieve the Log object for the channel associated with the given log enum.
ConstString & GetFilename()
Filename string get accessor.
llvm::Optional< uint32_t > GetLine() const
@ eCallbackReturnContinue