Go to the documentation of this file.
9 #ifndef LLDB_SOURCE_PLUGINS_SYMBOLFILE_DWARF_DWARFDIE_H
10 #define LLDB_SOURCE_PLUGINS_SYMBOLFILE_DWARF_DWARFDIE_H
13 #include "llvm/ADT/SmallSet.h"
14 #include "llvm/ADT/iterator_range.h"
90 int &decl_line,
int &decl_column,
int &call_file,
91 int &call_line,
int &call_column,
95 llvm::iterator_range<child_iterator>
children()
const;
99 :
public llvm::iterator_facade_base<DWARFDIE::child_iterator,
100 std::forward_iterator_tag, DWARFDIE> {
117 assert(
m_die.
IsValid() &&
"Derefencing invalid iterator?");
121 assert(
m_die.
IsValid() &&
"Derefencing invalid iterator?");
125 assert(
m_die.
IsValid() &&
"Incrementing invalid iterator?");
131 #endif // LLDB_SOURCE_PLUGINS_SYMBOLFILE_DWARF_DWARFDIE_H
DWARFDIE GetParent() const
child_iterator(const DWARFDIE &parent)
const DWARFDIE & operator*() const
std::vector< DWARFDIE > GetDeclContextDIEs() const
void GetDeclContext(llvm::SmallVectorImpl< lldb_private::CompilerContext > &context) const
Return this DIE's decl context as it is needed to look up types in Clang's -gmodules debug info forma...
void AppendTypeName(lldb_private::Stream &s) const
DWARFDIE m_die
The current child or an invalid DWARFDie.
lldb_private::Type * ResolveType() const
lldb_private::Type * ResolveTypeUID(const DWARFDIE &die) const
DWARFDIE GetAttributeValueAsReferenceDIE(const dw_attr_t attr) const
child_iterator & operator++()
const char * GetPubname() const
const char * GetQualifiedName(std::string &storage) const
DWARFDebugInfoEntry * GetDIE() const
bool IsStructUnionOrClass() const
const char * GetMangledName() const
DWARFDIE GetReferencedDIE(const dw_attr_t attr) const
string(SUBSTRING ${p} 10 -1 pStripped) if($
DWARFDIE GetFirstChild() const
bool GetDIENamesAndRanges(const char *&name, const char *&mangled, DWARFRangeList &ranges, int &decl_file, int &decl_line, int &decl_column, int &call_file, int &call_line, int &call_column, lldb_private::DWARFExpression *frame_base) const
const char * GetName() const
DWARFDIE GetParentDeclContextDIE() const
llvm::iterator_range< child_iterator > children() const
The range of all the children of this DIE.
DWARFDIE GetSibling() const
DWARFDIE LookupDeepestBlock(lldb::addr_t file_addr) const
bool operator==(const child_iterator &it) const