17 const int32_t byte_size,
21 if (udt.m_die.Tag() == die.
Tag()) {
23 if (udt.m_byte_size < 0 || byte_size < 0 ||
24 udt.m_byte_size == byte_size) {
26 if (udt.m_declaration == decl) {
33 while (!done && match && parent_arg_die && parent_pos_die) {
34 const dw_tag_t parent_arg_tag = parent_arg_die.
Tag();
35 const dw_tag_t parent_pos_tag = parent_pos_die.
Tag();
36 if (parent_arg_tag == parent_pos_tag) {
37 switch (parent_arg_tag) {
38 case DW_TAG_class_type:
39 case DW_TAG_structure_type:
40 case DW_TAG_union_type:
41 case DW_TAG_namespace: {
42 const char *parent_arg_die_name = parent_arg_die.
GetName();
43 if (parent_arg_die_name ==
48 const char *parent_pos_die_name = parent_pos_die.
GetName();
49 if (parent_pos_die_name ==
nullptr ||
50 ((parent_arg_die_name != parent_pos_die_name) &&
51 strcmp(parent_arg_die_name, parent_pos_die_name)))
56 case DW_TAG_compile_unit:
57 case DW_TAG_partial_unit:
64 parent_arg_die = parent_arg_die.
GetParent();
65 parent_pos_die = parent_pos_die.
GetParent();
DWARFDebugInfoEntry * m_die
void GetName(lldb_private::Stream &s) const
DWARFDIE GetParent() const
DWARFDebugInfoEntry * GetParent()
bool Find(const DWARFDIE &die, const lldb_private::Declaration &decl, const int32_t byte_size, UniqueDWARFASTType &entry) const
A class that describes the declaration location of a lldb object.
llvm::dwarf::Tag dw_tag_t