LLDB mainline
|
"lldb/Core/AddressResolverFileLine.h" This class finds address for source file and line. More...
#include <AddressResolverFileLine.h>
Public Member Functions | |
AddressResolverFileLine (SourceLocationSpec location_spec) | |
~AddressResolverFileLine () override | |
Searcher::CallbackReturn | SearchCallback (SearchFilter &filter, SymbolContext &context, Address *addr) override |
lldb::SearchDepth | GetDepth () override |
void | GetDescription (Stream *s) override |
Prints a canonical description for the searcher to the stream s. | |
Public Member Functions inherited from lldb_private::AddressResolver | |
AddressResolver () | |
~AddressResolver () override | |
virtual void | ResolveAddress (SearchFilter &filter) |
virtual void | ResolveAddressInModules (SearchFilter &filter, ModuleList &modules) |
void | GetDescription (Stream *s) override=0 |
Prints a canonical description for the searcher to the stream s. | |
std::vector< AddressRange > & | GetAddressRanges () |
size_t | GetNumberOfAddresses () |
AddressRange & | GetAddressRangeAtIndex (size_t idx) |
Public Member Functions inherited from lldb_private::Searcher | |
Searcher () | |
virtual | ~Searcher () |
virtual CallbackReturn | SearchCallback (SearchFilter &filter, SymbolContext &context, Address *addr)=0 |
virtual lldb::SearchDepth | GetDepth ()=0 |
virtual void | GetDescription (Stream *s) |
Prints a canonical description for the searcher to the stream s. | |
Protected Attributes | |
SourceLocationSpec | m_src_location_spec |
Protected Attributes inherited from lldb_private::AddressResolver | |
std::vector< AddressRange > | m_address_ranges |
Private Member Functions | |
AddressResolverFileLine (const AddressResolverFileLine &)=delete | |
const AddressResolverFileLine & | operator= (const AddressResolverFileLine &)=delete |
Additional Inherited Members | |
Public Types inherited from lldb_private::AddressResolver | |
enum | MatchType { Exact , Regexp , Glob } |
Public Types inherited from lldb_private::Searcher | |
enum | CallbackReturn { eCallbackReturnStop = 0 , eCallbackReturnContinue , eCallbackReturnPop } |
"lldb/Core/AddressResolverFileLine.h" This class finds address for source file and line.
Optionally, it will look for inlined instances of the file and line specification.
Definition at line 29 of file AddressResolverFileLine.h.
AddressResolverFileLine::AddressResolverFileLine | ( | SourceLocationSpec | location_spec | ) |
Definition at line 31 of file AddressResolverFileLine.cpp.
|
overridedefault |
|
privatedelete |
|
overridevirtual |
Implements lldb_private::Searcher.
Definition at line 67 of file AddressResolverFileLine.cpp.
References lldb::eSearchDepthCompUnit.
|
overridevirtual |
Prints a canonical description for the searcher to the stream s.
[in] | s | Stream to which the output is copied. |
Implements lldb_private::AddressResolver.
Definition at line 71 of file AddressResolverFileLine.cpp.
References lldb_private::ConstString::AsCString(), lldb_private::FileSpec::GetFilename(), lldb_private::SourceLocationSpec::GetFileSpec(), lldb_private::SourceLocationSpec::GetLine(), m_src_location_spec, and lldb_private::Stream::Printf().
|
privatedelete |
|
overridevirtual |
Implements lldb_private::Searcher.
Definition at line 38 of file AddressResolverFileLine.cpp.
References lldb_private::ConstString::AsCString(), lldb_private::Breakpoints, lldb_private::SymbolContext::comp_unit, lldb_private::Searcher::eCallbackReturnContinue, lldb_private::Address::GetFileAddress(), lldb_private::FileSpec::GetFilename(), lldb_private::SourceLocationSpec::GetFileSpec(), lldb_private::SourceLocationSpec::GetLine(), lldb_private::GetLog(), lldb_private::Address::IsValid(), LLDB_LOGF, lldb_private::AddressResolver::m_address_ranges, m_src_location_spec, and lldb_private::CompileUnit::ResolveSymbolContext().
|
protected |
Definition at line 44 of file AddressResolverFileLine.h.
Referenced by GetDescription(), and SearchCallback().