49 Address line_start = sc.line_entry.range.GetBaseAddress();
50 addr_t byte_size = sc.line_entry.range.GetByteSize();
56 "error: Unable to resolve address at file address 0x%" PRIx64
73 "File and line address - file: \"%s\" line: %u",
#define LLDB_LOGF(log,...)
A section + offset based address range class.
Searcher::CallbackReturn SearchCallback(SearchFilter &filter, SymbolContext &context, Address *addr) override
AddressResolverFileLine(SourceLocationSpec location_spec)
lldb::SearchDepth GetDepth() override
SourceLocationSpec m_src_location_spec
~AddressResolverFileLine() override
void GetDescription(Stream *s) override
Prints a canonical description for the searcher to the stream s.
General Outline: The AddressResolver is a Searcher.
std::vector< AddressRange > m_address_ranges
A section + offset based address class.
lldb::addr_t GetFileAddress() const
Get the file address.
bool IsValid() const
Check if the object state is valid.
A class that describes a compilation unit.
void ResolveSymbolContext(const SourceLocationSpec &src_location_spec, lldb::SymbolContextItem resolve_scope, SymbolContextList &sc_list, RealpathPrefixes *realpath_prefixes=nullptr)
Resolve symbol contexts by file and line.
const char * AsCString(const char *value_if_empty=nullptr) const
Get the string value as a C string.
const ConstString & GetFilename() const
Filename string const get accessor.
General Outline: Provides the callback and search depth for the SearchFilter search.
@ eCallbackReturnContinue
"lldb/Core/SourceLocationSpec.h" A source location specifier class.
std::optional< uint32_t > GetLine() const
FileSpec GetFileSpec() const
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.
Defines a list of symbol context objects.
Defines a symbol context baton that can be handed other debug core functions.
CompileUnit * comp_unit
The CompileUnit for a given query.
A class that represents a running process on the host machine.
Log * GetLog(Cat mask)
Retrieve the Log object for the channel associated with the given log enum.