LLDB mainline
lldb_private::SymbolContextSpecifier Class Reference

#include <SymbolContext.h>

Public Types

enum  SpecificationType {
  eNothingSpecified = 0 , eModuleSpecified = 1 << 0 , eFileSpecified = 1 << 1 , eLineStartSpecified = 1 << 2 ,
  eLineEndSpecified = 1 << 3 , eFunctionSpecified = 1 << 4 , eClassOrNamespaceSpecified = 1 << 5 , eAddressRangeSpecified = 1 << 6
}

Public Member Functions

 SymbolContextSpecifier (const lldb::TargetSP &target_sp)
 ~SymbolContextSpecifier ()
bool AddSpecification (const char *spec_string, SpecificationType type)
bool AddLineSpecification (uint32_t line_no, SpecificationType type)
void Clear ()
bool SymbolContextMatches (const SymbolContext &sc)
bool AddressMatches (lldb::addr_t addr)
void GetDescription (Stream *s, lldb::DescriptionLevel level) const

Private Attributes

lldb::TargetSP m_target_sp
std::string m_module_spec
lldb::ModuleSP m_module_sp
std::unique_ptr< FileSpecm_file_spec_up
size_t m_start_line
size_t m_end_line
std::string m_function_spec
std::string m_class_name
std::unique_ptr< AddressRangem_address_range_up
uint32_t m_type

Detailed Description

Definition at line 328 of file SymbolContext.h.

Member Enumeration Documentation

◆ SpecificationType

Enumerator
eNothingSpecified 
eModuleSpecified 
eFileSpecified 
eLineStartSpecified 
eLineEndSpecified 
eFunctionSpecified 
eClassOrNamespaceSpecified 
eAddressRangeSpecified 

Definition at line 330 of file SymbolContext.h.

Constructor & Destructor Documentation

◆ SymbolContextSpecifier()

SymbolContextSpecifier::SymbolContextSpecifier ( const lldb::TargetSP & target_sp)

◆ ~SymbolContextSpecifier()

SymbolContextSpecifier::~SymbolContextSpecifier ( )
default

Member Function Documentation

◆ AddLineSpecification()

bool SymbolContextSpecifier::AddLineSpecification ( uint32_t line_no,
SpecificationType type )

◆ AddressMatches()

bool SymbolContextSpecifier::AddressMatches ( lldb::addr_t addr)

◆ AddSpecification()

◆ Clear()

void SymbolContextSpecifier::Clear ( )

◆ GetDescription()

◆ SymbolContextMatches()

Member Data Documentation

◆ m_address_range_up

std::unique_ptr<AddressRange> lldb_private::SymbolContextSpecifier::m_address_range_up
private

Definition at line 367 of file SymbolContext.h.

Referenced by Clear(), GetDescription(), and SymbolContextSpecifier().

◆ m_class_name

std::string lldb_private::SymbolContextSpecifier::m_class_name
private

Definition at line 366 of file SymbolContext.h.

Referenced by AddSpecification(), Clear(), GetDescription(), and SymbolContextSpecifier().

◆ m_end_line

size_t lldb_private::SymbolContextSpecifier::m_end_line
private

◆ m_file_spec_up

std::unique_ptr<FileSpec> lldb_private::SymbolContextSpecifier::m_file_spec_up
private

◆ m_function_spec

std::string lldb_private::SymbolContextSpecifier::m_function_spec
private

◆ m_module_sp

lldb::ModuleSP lldb_private::SymbolContextSpecifier::m_module_sp
private

◆ m_module_spec

std::string lldb_private::SymbolContextSpecifier::m_module_spec
private

◆ m_start_line

size_t lldb_private::SymbolContextSpecifier::m_start_line
private

◆ m_target_sp

lldb::TargetSP lldb_private::SymbolContextSpecifier::m_target_sp
private

◆ m_type

uint32_t lldb_private::SymbolContextSpecifier::m_type
private

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