Please use GitHub pull requests for new patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
lldb/source/Plugins/SymbolFile/DWARF/DWARFDIE.h
Show First 20 Lines • Show All 77 Lines • ▼ Show 20 Lines | public: | ||||
// Getting attribute values from the DIE. | // Getting attribute values from the DIE. | ||||
// | // | ||||
// GetAttributeValueAsXXX() functions should only be used if you are | // GetAttributeValueAsXXX() functions should only be used if you are | ||||
// looking for one or two attributes on a DIE. If you are trying to | // looking for one or two attributes on a DIE. If you are trying to | ||||
// parse all attributes, use GetAttributes (...) instead | // parse all attributes, use GetAttributes (...) instead | ||||
DWARFDIE | DWARFDIE | ||||
GetAttributeValueAsReferenceDIE(const dw_attr_t attr) const; | GetAttributeValueAsReferenceDIE(const dw_attr_t attr) const; | ||||
bool | bool GetDIENamesAndRanges( | ||||
GetDIENamesAndRanges(const char *&name, const char *&mangled, | const char *&name, const char *&mangled, DWARFRangeList &ranges, | ||||
DWARFRangeList &ranges, int &decl_file, int &decl_line, | std::optional<int> &decl_file, std::optional<int> &decl_line, | ||||
int &decl_column, int &call_file, int &call_line, | std::optional<int> &decl_column, std::optional<int> &call_file, | ||||
int &call_column, | std::optional<int> &call_line, std::optional<int> &call_column, | ||||
lldb_private::DWARFExpressionList *frame_base) const; | lldb_private::DWARFExpressionList *frame_base) const; | ||||
/// The range of all the children of this DIE. | /// The range of all the children of this DIE. | ||||
llvm::iterator_range<child_iterator> children() const; | llvm::iterator_range<child_iterator> children() const; | ||||
}; | }; | ||||
class DWARFDIE::child_iterator | class DWARFDIE::child_iterator | ||||
: public llvm::iterator_facade_base<DWARFDIE::child_iterator, | : public llvm::iterator_facade_base<DWARFDIE::child_iterator, | ||||
std::forward_iterator_tag, DWARFDIE> { | std::forward_iterator_tag, DWARFDIE> { | ||||
Show All 31 Lines |