LLDB mainline
Public Member Functions | Protected Attributes | Private Member Functions | List of all members
lldb_private::AddressResolverFileLine Class Reference

"lldb/Core/AddressResolverFileLine.h" This class finds address for source file and line. More...

#include <AddressResolverFileLine.h>

Inheritance diagram for lldb_private::AddressResolverFileLine:
Inheritance graph
[legend]

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 ()
 
AddressRangeGetAddressRangeAtIndex (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< AddressRangem_address_ranges
 

Private Member Functions

 AddressResolverFileLine (const AddressResolverFileLine &)=delete
 
const AddressResolverFileLineoperator= (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 }
 

Detailed Description

"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.

Constructor & Destructor Documentation

◆ AddressResolverFileLine() [1/2]

AddressResolverFileLine::AddressResolverFileLine ( SourceLocationSpec  location_spec)

Definition at line 31 of file AddressResolverFileLine.cpp.

◆ ~AddressResolverFileLine()

AddressResolverFileLine::~AddressResolverFileLine ( )
overridedefault

◆ AddressResolverFileLine() [2/2]

lldb_private::AddressResolverFileLine::AddressResolverFileLine ( const AddressResolverFileLine )
privatedelete

Member Function Documentation

◆ GetDepth()

lldb::SearchDepth AddressResolverFileLine::GetDepth ( )
overridevirtual

Implements lldb_private::Searcher.

Definition at line 67 of file AddressResolverFileLine.cpp.

References lldb::eSearchDepthCompUnit.

◆ GetDescription()

void AddressResolverFileLine::GetDescription ( Stream s)
overridevirtual

◆ operator=()

const AddressResolverFileLine & lldb_private::AddressResolverFileLine::operator= ( const AddressResolverFileLine )
privatedelete

◆ SearchCallback()

Searcher::CallbackReturn AddressResolverFileLine::SearchCallback ( SearchFilter filter,
SymbolContext context,
Address addr 
)
overridevirtual

Member Data Documentation

◆ m_src_location_spec

SourceLocationSpec lldb_private::AddressResolverFileLine::m_src_location_spec
protected

Definition at line 44 of file AddressResolverFileLine.h.

Referenced by GetDescription(), and SearchCallback().


The documentation for this class was generated from the following files: