LLDB  mainline
Public Member Functions | Protected Attributes | List of all members
NameToDIE Class Reference

#include <NameToDIE.h>

Collaboration diagram for NameToDIE:
Collaboration graph
[legend]

Public Member Functions

 NameToDIE ()
 
 ~NameToDIE ()
 
void Dump (lldb_private::Stream *s)
 
void Insert (lldb_private::ConstString name, const DIERef &die_ref)
 
void Append (const NameToDIE &other)
 
void Finalize ()
 
size_t Find (lldb_private::ConstString name, DIEArray &info_array) const
 
size_t Find (const lldb_private::RegularExpression &regex, DIEArray &info_array) const
 
size_t FindAllEntriesForCompileUnit (dw_offset_t cu_offset, DIEArray &info_array) const
 
void ForEach (std::function< bool(lldb_private::ConstString name, const DIERef &die_ref)> const &callback) const
 

Protected Attributes

lldb_private::UniqueCStringMap< DIERefm_map
 

Detailed Description

Definition at line 21 of file NameToDIE.h.

Constructor & Destructor Documentation

◆ NameToDIE()

NameToDIE::NameToDIE ( )
inline

Definition at line 23 of file NameToDIE.h.

◆ ~NameToDIE()

NameToDIE::~NameToDIE ( )
inline

Definition at line 25 of file NameToDIE.h.

References Append(), Dump(), Finalize(), Find(), FindAllEntriesForCompileUnit(), ForEach(), and Insert().

Member Function Documentation

◆ Append()

void NameToDIE::Append ( const NameToDIE other)

◆ Dump()

void NameToDIE::Dump ( lldb_private::Stream s)

◆ Finalize()

void NameToDIE::Finalize ( )

Definition at line 23 of file NameToDIE.cpp.

Referenced by ~NameToDIE().

◆ Find() [1/2]

size_t NameToDIE::Find ( lldb_private::ConstString  name,
DIEArray info_array 
) const

Definition at line 32 of file NameToDIE.cpp.

Referenced by ~NameToDIE().

◆ Find() [2/2]

size_t NameToDIE::Find ( const lldb_private::RegularExpression regex,
DIEArray info_array 
) const

Definition at line 36 of file NameToDIE.cpp.

◆ FindAllEntriesForCompileUnit()

size_t NameToDIE::FindAllEntriesForCompileUnit ( dw_offset_t  cu_offset,
DIEArray info_array 
) const

Definition at line 41 of file NameToDIE.cpp.

References DIERef::cu_offset.

Referenced by ~NameToDIE().

◆ ForEach()

void NameToDIE::ForEach ( std::function< bool(lldb_private::ConstString name, const DIERef &die_ref)> const &  callback) const

Definition at line 63 of file NameToDIE.cpp.

Referenced by ~NameToDIE().

◆ Insert()

void NameToDIE::Insert ( lldb_private::ConstString  name,
const DIERef die_ref 
)

Definition at line 28 of file NameToDIE.cpp.

Referenced by ~NameToDIE().

Member Data Documentation

◆ m_map

lldb_private::UniqueCStringMap<DIERef> NameToDIE::m_map
protected

Definition at line 50 of file NameToDIE.h.

Referenced by Append().


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