LLDB mainline
Public Types | Public Member Functions | Private Attributes | List of all members
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 323 of file SymbolContext.h.

Member Enumeration Documentation

◆ SpecificationType

Enumerator
eNothingSpecified 
eModuleSpecified 
eFileSpecified 
eLineStartSpecified 
eLineEndSpecified 
eFunctionSpecified 
eClassOrNamespaceSpecified 
eAddressRangeSpecified 

Definition at line 325 of file SymbolContext.h.

Constructor & Destructor Documentation

◆ SymbolContextSpecifier()

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

Definition at line 921 of file SymbolContext.cpp.

◆ ~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()

bool SymbolContextSpecifier::AddSpecification ( const char *  spec_string,
SpecificationType  type 
)

◆ Clear()

void SymbolContextSpecifier::Clear ( )

◆ GetDescription()

void SymbolContextSpecifier::GetDescription ( Stream s,
lldb::DescriptionLevel  level 
) const

◆ SymbolContextMatches()

bool SymbolContextSpecifier::SymbolContextMatches ( const SymbolContext sc)

Member Data Documentation

◆ m_address_range_up

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

Definition at line 362 of file SymbolContext.h.

Referenced by Clear(), and GetDescription().

◆ m_class_name

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

Definition at line 361 of file SymbolContext.h.

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

◆ 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

Definition at line 357 of file SymbolContext.h.

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

◆ m_function_spec

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

Definition at line 360 of file SymbolContext.h.

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

◆ m_module_sp

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

Definition at line 356 of file SymbolContext.h.

Referenced by AddSpecification(), GetDescription(), and SymbolContextMatches().

◆ m_module_spec

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

Definition at line 355 of file SymbolContext.h.

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

◆ 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: