Lines Matching refs:dwarf
60 case dwarf::DW_TAG_module: in getChildDeclContext()
62 case dwarf::DW_TAG_compile_unit: in getChildDeclContext()
64 case dwarf::DW_TAG_subprogram: in getChildDeclContext()
66 if ((Context.getTag() == dwarf::DW_TAG_namespace || in getChildDeclContext()
67 Context.getTag() == dwarf::DW_TAG_compile_unit) && in getChildDeclContext()
68 !dwarf::toUnsigned(DIE.find(dwarf::DW_AT_external), 0)) in getChildDeclContext()
71 case dwarf::DW_TAG_member: in getChildDeclContext()
72 case dwarf::DW_TAG_namespace: in getChildDeclContext()
73 case dwarf::DW_TAG_structure_type: in getChildDeclContext()
74 case dwarf::DW_TAG_class_type: in getChildDeclContext()
75 case dwarf::DW_TAG_union_type: in getChildDeclContext()
76 case dwarf::DW_TAG_enumeration_type: in getChildDeclContext()
77 case dwarf::DW_TAG_typedef: in getChildDeclContext()
82 if (dwarf::toUnsigned(DIE.find(dwarf::DW_AT_artificial), 0)) in getChildDeclContext()
95 bool IsAnonymousNamespace = NameRef.empty() && Tag == dwarf::DW_TAG_namespace; in getChildDeclContext()
102 if (Tag != dwarf::DW_TAG_class_type && Tag != dwarf::DW_TAG_structure_type && in getChildDeclContext()
103 Tag != dwarf::DW_TAG_union_type && in getChildDeclContext()
104 Tag != dwarf::DW_TAG_enumeration_type && NameRef.empty()) in getChildDeclContext()
119 ByteSize = dwarf::toUnsigned(DIE.find(dwarf::DW_AT_byte_size), in getChildDeclContext()
121 if (Tag != dwarf::DW_TAG_namespace || IsAnonymousNamespace) { in getChildDeclContext()
123 dwarf::toUnsigned(DIE.find(dwarf::DW_AT_decl_file), 0)) { in getChildDeclContext()
133 Line = dwarf::toUnsigned(DIE.find(dwarf::DW_AT_decl_line), 0); in getChildDeclContext()
176 } else if (Tag != dwarf::DW_TAG_namespace && in getChildDeclContext()
186 if ((Tag == dwarf::DW_TAG_subprogram && in getChildDeclContext()
187 Context.getTag() != dwarf::DW_TAG_structure_type && in getChildDeclContext()
188 Context.getTag() != dwarf::DW_TAG_class_type) || in getChildDeclContext()
189 (Tag == dwarf::DW_TAG_union_type)) in getChildDeclContext()