Lines Matching refs:dwarf
90 assert(Cur->getTag() == dwarf::DW_TAG_compile_unit || in addParentContext()
91 Cur->getTag() == dwarf::DW_TAG_type_unit); in addParentContext()
103 StringRef Name = getDIEStringAttr(*Die, dwarf::DW_AT_name); in addParentContext()
115 << dwarf::AttributeString(V.getAttribute()) in collectAttributes()
119 case dwarf::NAME: \ in collectAttributes()
129 void DIEHash::hashShallowTypeReference(dwarf::Attribute Attribute, in hashShallowTypeReference()
155 void DIEHash::hashRepeatedTypeReference(dwarf::Attribute Attribute, in hashRepeatedTypeReference()
168 void DIEHash::hashDIEEntry(dwarf::Attribute Attribute, dwarf::Tag Tag, in hashDIEEntry()
170 assert(Tag != dwarf::DW_TAG_friend && "No current LLVM clients emit friend " in hashDIEEntry()
175 if ((Tag == dwarf::DW_TAG_pointer_type || in hashDIEEntry()
176 Tag == dwarf::DW_TAG_reference_type || in hashDIEEntry()
177 Tag == dwarf::DW_TAG_rvalue_reference_type || in hashDIEEntry()
178 Tag == dwarf::DW_TAG_ptr_to_member_type) && in hashDIEEntry()
183 Attribute == dwarf::DW_AT_type) { in hashDIEEntry()
185 StringRef Name = getDIEStringAttr(Entry, dwarf::DW_AT_name); in hashDIEEntry()
228 StringRef Name = getDIEStringAttr(C, dwarf::DW_AT_name); in hashBlockData()
248 void DIEHash::hashAttribute(const DIEValue &Value, dwarf::Tag Tag) { in hashAttribute()
249 dwarf::Attribute Attribute = Value.getAttribute(); in hashAttribute()
272 case dwarf::DW_FORM_data1: in hashAttribute()
273 case dwarf::DW_FORM_data2: in hashAttribute()
274 case dwarf::DW_FORM_data4: in hashAttribute()
275 case dwarf::DW_FORM_data8: in hashAttribute()
276 case dwarf::DW_FORM_udata: in hashAttribute()
277 case dwarf::DW_FORM_sdata: in hashAttribute()
278 addULEB128(dwarf::DW_FORM_sdata); in hashAttribute()
283 case dwarf::DW_FORM_flag_present: in hashAttribute()
284 case dwarf::DW_FORM_flag: in hashAttribute()
285 addULEB128(dwarf::DW_FORM_flag); in hashAttribute()
296 addULEB128(dwarf::DW_FORM_string); in hashAttribute()
302 addULEB128(dwarf::DW_FORM_string); in hashAttribute()
310 addULEB128(dwarf::DW_FORM_block); in hashAttribute()
336 void DIEHash::hashAttributes(const DIEAttrs &Attrs, dwarf::Tag Tag) { in hashAttributes()
380 …if (isType(C.getTag()) || (C.getTag() == dwarf::DW_TAG_subprogram && isType(C.getParent()->getTag(… in computeHash()
381 StringRef Name = getDIEStringAttr(C, dwarf::DW_AT_name); in computeHash()