/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/ |
H A D | DWARFDebugInfoEntry.cpp | 108 dw_attr_t &attr, DWARFFormValue &form_value) { in ExtractAttrAndFormValue() argument 110 form_value.FormRef() = attr_spec.Form; in ExtractAttrAndFormValue() 112 form_value.SetSigned(attr_spec.getImplicitConstValue()); in ExtractAttrAndFormValue() 143 DWARFFormValue form_value(cu); in GetDIENamesAndRanges() local 145 ExtractAttrAndFormValue(attribute, attr, form_value); in GetDIENamesAndRanges() 147 if (form_value.ExtractValue(data, &offset)) { in GetDIENamesAndRanges() 150 lo_pc = form_value.Address(); in GetDIENamesAndRanges() 158 lo_pc = form_value.Address(); in GetDIENamesAndRanges() 162 if (form_value.Form() == DW_FORM_addr || in GetDIENamesAndRanges() 163 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() 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; 121 if (attr == DW_AT_type && attributes.ExtractFormValueAtIndex(i, form_value)) 122 return dwarf->ResolveTypeUID(form_value 44 DWARFFormValue form_value; ParseChildArrayInfo() local [all...] |
H A D | DWARFASTParserClang.cpp | 287 DWARFFormValue form_value; in ParsedDWARFTypeAttributes() local 288 if (!attributes.ExtractFormValueAtIndex(i, form_value)) in ParsedDWARFTypeAttributes() 294 abstract_origin = form_value; in ParsedDWARFTypeAttributes() 299 DWARFASTParser::GetAccessTypeFromDWARF(form_value.Unsigned()); in ParsedDWARFTypeAttributes() 303 is_artificial = form_value.Boolean(); in ParsedDWARFTypeAttributes() 307 bit_stride = form_value.Unsigned(); in ParsedDWARFTypeAttributes() 311 byte_size = form_value.Unsigned(); in ParsedDWARFTypeAttributes() 315 alignment = form_value.Unsigned(); in ParsedDWARFTypeAttributes() 319 byte_stride = form_value.Unsigned(); in ParsedDWARFTypeAttributes() 323 calling_convention = 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 | 387 DWARFFormValue form_value; in AddUnitDIE() local 388 if (attributes.ExtractFormValueAtIndex(i, form_value)) { in AddUnitDIE() 389 SetAddrBase(form_value.Unsigned()); in AddUnitDIE() 396 DWARFFormValue form_value; in AddUnitDIE() local 397 if (!attributes.ExtractFormValueAtIndex(i, form_value)) in AddUnitDIE() 403 SetLoclistsBase(form_value.Unsigned()); in AddUnitDIE() 406 SetRangesBase(form_value.Unsigned()); in AddUnitDIE() 409 SetStrOffsetsBase(form_value.Unsigned()); in AddUnitDIE() 412 SetBaseAddress(form_value.Address()); in AddUnitDIE() 417 SetBaseAddress(form_value.Address()); in AddUnitDIE() [all …]
|
H A D | ManualDWARFIndex.cpp | 240 DWARFFormValue form_value; in IndexUnitImpl() local 245 if (attributes.ExtractFormValueAtIndex(i, form_value)) in IndexUnitImpl() 246 name = form_value.AsCString(); in IndexUnitImpl() 250 if (attributes.ExtractFormValueAtIndex(i, form_value)) in IndexUnitImpl() 251 is_declaration = form_value.Unsigned() != 0; in IndexUnitImpl() 256 if (attributes.ExtractFormValueAtIndex(i, form_value)) in IndexUnitImpl() 257 mangled_cstr = form_value.AsCString(); in IndexUnitImpl() 278 if (attributes.ExtractFormValueAtIndex(i, form_value)) in IndexUnitImpl() 279 specification_die_form = form_value; in IndexUnitImpl()
|
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 | 3367 static DWARFExpressionList GetExprListFromAtLocation(DWARFFormValue form_value, in GetExprListFromAtLocation() argument 3371 if (DWARFFormValue::IsBlockForm(form_value.Form())) { in GetExprListFromAtLocation() 3374 uint64_t block_offset = form_value.BlockData() - data.GetDataStart(); in GetExprListFromAtLocation() 3375 uint64_t block_length = form_value.Unsigned(); in GetExprListFromAtLocation() 3382 dw_offset_t offset = form_value.Unsigned(); in GetExprListFromAtLocation() 3383 if (form_value.Form() == DW_FORM_loclistx) in GetExprListFromAtLocation() 3387 const DWARFUnit *dwarf_cu = form_value.GetUnit(); in GetExprListFromAtLocation() 3399 GetExprListFromAtConstValue(DWARFFormValue form_value, ModuleSP module, in GetExprListFromAtConstValue() argument 3402 if (DWARFFormValue::IsBlockForm(form_value.Form())) { in GetExprListFromAtConstValue() 3405 form_value.BlockData() - debug_info_data.GetDataStart(); in GetExprListFromAtConstValue() [all …]
|
H A D | DWARFDIE.cpp | 133 DWARFFormValue form_value; in GetAttributeValueAsReferenceDIE() local 134 if (m_die->GetAttributeValue(cu, attr, form_value, nullptr, in GetAttributeValueAsReferenceDIE() 136 return form_value.Reference(); in GetAttributeValueAsReferenceDIE()
|
H A D | DWARFASTParserClang.h | 97 const lldb_private::plugin::dwarf::DWARFFormValue &form_value) const;
|