Lines Matching refs:Attr
118 dwarf::Attribute Attr = AttrValue.Attr; in dumpAttribute() local
119 WithColor(OS, HighlightColor::Attribute) << formatv("{0}", Attr); in dumpAttribute()
133 if (Attr == DW_AT_decl_file || Attr == DW_AT_call_file) { in dumpAttribute()
147 Name = AttributeValueString(Attr, *Val); in dumpAttribute()
151 else if (Attr == DW_AT_decl_line || Attr == DW_AT_decl_column || in dumpAttribute()
152 Attr == DW_AT_call_line || Attr == DW_AT_call_column) { in dumpAttribute()
157 } else if (Attr == DW_AT_low_pc && in dumpAttribute()
167 } else if (Attr == DW_AT_high_pc && !DumpOpts.ShowForm && !DumpOpts.Verbose && in dumpAttribute()
177 } else if (DWARFAttribute::mayHaveLocationList(Attr) && in dumpAttribute()
182 (DWARFAttribute::mayHaveLocationExpr(Attr) && in dumpAttribute()
194 if (Attr == DW_AT_specification || Attr == DW_AT_abstract_origin || in dumpAttribute()
195 Attr == DW_AT_call_origin) { in dumpAttribute()
200 } else if (Attr == DW_AT_type || Attr == DW_AT_containing_type) { in dumpAttribute()
207 } else if (Attr == DW_AT_APPLE_property_attribute) { in dumpAttribute()
210 } else if (Attr == DW_AT_ranges) { in dumpAttribute()
250 std::optional<DWARFFormValue> DWARFDie::find(dwarf::Attribute Attr) const { in find()
255 return AbbrevDecl->getAttributeValue(getOffset(), Attr, *U); in find()
265 for (auto Attr : Attrs) { in find() local
266 if (auto Value = AbbrevDecl->getAttributeValue(getOffset(), Attr, *U)) in find()
307 DWARFDie::getAttributeValueAsReferencedDie(dwarf::Attribute Attr) const { in getAttributeValueAsReferencedDie()
308 if (std::optional<DWARFFormValue> F = find(Attr)) in getAttributeValueAsReferencedDie()
327 if (auto Attr = find(DW_AT_signature)) { in resolveTypeUnitReference() local
328 if (std::optional<uint64_t> Sig = Attr->getAsReferenceUVal()) { in resolveTypeUnitReference()
408 DWARFDie::getLocations(dwarf::Attribute Attr) const { in getLocations()
409 std::optional<DWARFFormValue> Location = find(Attr); in getLocations()
412 dwarf::AttributeString(Attr).data()); in getLocations()
434 dwarf::AttributeString(Attr).data(), in getLocations()
691 AttrValue.Attr = AbbrDecl.getAttrByIndex(Index); in updateForIndex()
718 bool DWARFAttribute::mayHaveLocationList(dwarf::Attribute Attr) { in mayHaveLocationList() argument
719 switch(Attr) { in mayHaveLocationList()
735 bool DWARFAttribute::mayHaveLocationExpr(dwarf::Attribute Attr) { in mayHaveLocationExpr() argument
736 switch (Attr) { in mayHaveLocationExpr()