| /freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/ |
| H A D | DWARFDebugInfoEntry.cpp | 94 dw_attr_t &attr, DWARFFormValue &form_value) { in ExtractAttrAndFormValue() argument 96 form_value.FormRef() = attr_spec.Form; in ExtractAttrAndFormValue() 98 form_value.SetSigned(attr_spec.getImplicitConstValue()); in ExtractAttrAndFormValue() 129 DWARFFormValue form_value(cu); in GetDIENamesAndRanges() local 131 ExtractAttrAndFormValue(attribute, attr, form_value); in GetDIENamesAndRanges() 133 if (form_value.ExtractValue(data, &offset)) { in GetDIENamesAndRanges() 136 lo_pc = form_value.Address(); in GetDIENamesAndRanges() 144 lo_pc = form_value.Address(); in GetDIENamesAndRanges() 148 if (form_value.Form() == DW_FORM_addr || in GetDIENamesAndRanges() 149 form_value.Form() == DW_FORM_addrx || in GetDIENamesAndRanges() [all …]
|
| H A D | DWARFAttribute.cpp | 31 void DWARFAttributes::Append(const DWARFFormValue &form_value, in Append() 33 AttributeValue attr_value = {const_cast<DWARFUnit *>(form_value.GetUnit()), in Append() 35 {attr, form_value.Form(), form_value.Value()}}; in Append() 40 uint32_t i, DWARFFormValue &form_value) const { in ExtractFormValueAtIndex() 42 form_value.SetUnit(cu); in ExtractFormValueAtIndex() 43 form_value.SetForm(FormAtIndex(i)); in ExtractFormValueAtIndex() 44 if (form_value.Form() == DW_FORM_implicit_const) { in ExtractFormValueAtIndex() 45 form_value.SetValue(ValueAtIndex(i)); in ExtractFormValueAtIndex() 49 return form_value in ExtractFormValueAtIndex() 30 Append(const DWARFFormValue & form_value,dw_offset_t attr_die_offset,dw_attr_t attr) Append() argument 61 DWARFFormValue form_value; FormValueAsReferenceAtIndex() local [all...] |
| H A D | DWARFASTParser.cpp | 46 DWARFFormValue form_value; in ParseChildArrayInfo() local 47 if (attributes.ExtractFormValueAtIndex(i, form_value)) { in ParseChildArrayInfo() 68 num_elements = form_value.Unsigned(); in ParseChildArrayInfo() 72 array_info.bit_stride = form_value.Unsigned(); in ParseChildArrayInfo() 76 array_info.byte_stride = form_value.Unsigned(); in ParseChildArrayInfo() 80 lower_bound = form_value.Unsigned(); in ParseChildArrayInfo() 85 upper_bound = form_value.Unsigned(); in ParseChildArrayInfo() 119 DWARFFormValue form_value; in GetTypeForDIE() local 121 if (attr == DW_AT_type && attributes.ExtractFormValueAtIndex(i, form_value)) in GetTypeForDIE() 122 return dwarf->ResolveTypeUID(form_value.Reference(), true); in GetTypeForDIE()
|
| H A D | DWARFASTParserClang.cpp | 174 DWARFFormValue form_value; in GetObjectParameter() local 176 subprogram.GetCU(), DW_AT_object_pointer, form_value, in GetObjectParameter() 178 if (auto ref = form_value.Reference()) in GetObjectParameter() 181 object_pointer_index = form_value.Unsigned(); in GetObjectParameter() 381 DWARFFormValue form_value; in ParsedDWARFTypeAttributes() local 382 if (!attributes.ExtractFormValueAtIndex(i, form_value)) in ParsedDWARFTypeAttributes() 388 abstract_origin = form_value; in ParsedDWARFTypeAttributes() 393 DWARFASTParser::GetAccessTypeFromDWARF(form_value.Unsigned()); in ParsedDWARFTypeAttributes() 397 is_artificial = form_value.Boolean(); in ParsedDWARFTypeAttributes() 401 bit_stride = form_value.Unsigned(); in ParsedDWARFTypeAttributes() [all …]
|
| H A D | AppleDWARFIndex.cpp | 82 std::optional<llvm::DWARFFormValue> form_value = in EntryHasMatchingQualhash() local 84 if (!form_value) in EntryHasMatchingQualhash() 86 std::optional<uint64_t> hash = form_value->getAsUnsignedConstant(); in EntryHasMatchingQualhash() 95 std::optional<llvm::DWARFFormValue> form_value = in EntryHasMatchingTag() local 97 if (!form_value) in EntryHasMatchingTag() 99 std::optional<uint64_t> maybe_tag = form_value->getAsUnsignedConstant(); in EntryHasMatchingTag() 111 std::optional<llvm::DWARFFormValue> form_value = in HasImplementationFlag() local 113 if (!form_value) in HasImplementationFlag() 115 std::optional<uint64_t> Flags = form_value->getAsUnsignedConstant(); in HasImplementationFlag()
|
| H A D | DWARFUnit.cpp | 390 DWARFFormValue form_value; in AddUnitDIE() local 391 if (attributes.ExtractFormValueAtIndex(i, form_value)) { in AddUnitDIE() 392 SetAddrBase(form_value.Unsigned()); in AddUnitDIE() 399 DWARFFormValue form_value; in AddUnitDIE() local 400 if (!attributes.ExtractFormValueAtIndex(i, form_value)) in AddUnitDIE() 406 SetLoclistsBase(form_value.Unsigned()); in AddUnitDIE() 409 SetRangesBase(form_value.Unsigned()); in AddUnitDIE() 412 SetStrOffsetsBase(form_value.Unsigned()); in AddUnitDIE() 415 SetBaseAddress(form_value.Address()); in AddUnitDIE() 420 SetBaseAddress(form_value.Address()); in AddUnitDIE() [all …]
|
| H A D | ManualDWARFIndex.cpp | 253 DWARFFormValue form_value; in IndexUnitImpl() local 258 if (attributes.ExtractFormValueAtIndex(i, form_value)) in IndexUnitImpl() 259 name = form_value.AsCString(); in IndexUnitImpl() 263 if (attributes.ExtractFormValueAtIndex(i, form_value)) in IndexUnitImpl() 264 is_declaration = form_value.Unsigned() != 0; in IndexUnitImpl() 269 if (attributes.ExtractFormValueAtIndex(i, form_value)) in IndexUnitImpl() 270 mangled_cstr = form_value.AsCString(); in IndexUnitImpl() 291 if (attributes.ExtractFormValueAtIndex(i, form_value)) in IndexUnitImpl() 292 specification_die_form = form_value; in IndexUnitImpl()
|
| H A D | DWARFDIE.cpp | 138 DWARFFormValue form_value; in GetAttributeValueAsReferenceDIE() local 139 if (m_die->GetAttributeValue(cu, attr, form_value, nullptr, in GetAttributeValueAsReferenceDIE() 141 return form_value.Reference(); in GetAttributeValueAsReferenceDIE() 612 DWARFFormValue form_value; in find() local 613 if (m_die->GetAttributeValue(m_cu, attr, form_value, nullptr, false)) in find() 614 return form_value; in find()
|
| H A D | DWARFAttribute.h | 48 void Append(const DWARFFormValue &form_value, dw_offset_t attr_die_offset, in DIEOffsetAtIndex() 61 bool ExtractFormValueAtIndex(uint32_t i, DWARFFormValue &form_value) const;
|
| H A D | SymbolFileDWARF.cpp | 3274 static DWARFExpressionList GetExprListFromAtLocation(DWARFFormValue form_value, in GetExprListFromAtLocation() argument 3278 if (DWARFFormValue::IsBlockForm(form_value.Form())) { in GetExprListFromAtLocation() 3281 uint64_t block_offset = form_value.BlockData() - data.GetDataStart(); in GetExprListFromAtLocation() 3282 uint64_t block_length = form_value.Unsigned(); in GetExprListFromAtLocation() 3289 dw_offset_t offset = form_value.Unsigned(); in GetExprListFromAtLocation() 3290 if (form_value.Form() == DW_FORM_loclistx) in GetExprListFromAtLocation() 3294 const DWARFUnit *dwarf_cu = form_value.GetUnit(); in GetExprListFromAtLocation() 3306 GetExprListFromAtConstValue(DWARFFormValue form_value, ModuleSP module, in GetExprListFromAtConstValue() argument 3309 if (DWARFFormValue::IsBlockForm(form_value.Form())) { in GetExprListFromAtConstValue() 3312 form_value.BlockData() - debug_info_data.GetDataStart(); in GetExprListFromAtConstValue() [all …]
|
| H A D | DWARFASTParserClang.h | 97 const lldb_private::plugin::dwarf::DWARFFormValue &form_value) const;
|