Home
last modified time | relevance | path

Searched refs:DWARFFormValue (Results 1 – 25 of 56) sorted by relevance

123

/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFFormValue.cpp32 DWARFFormValue::FC_Unknown, // 0x0
82 DWARFFormValue DWARFFormValue::createFromSValue(dwarf::Form F, int64_t V) { in createFromSValue()
83 return DWARFFormValue(F, ValueType(V)); in createFromSValue()
86 DWARFFormValue DWARFFormValue::createFromUValue(dwarf::Form F, uint64_t V) { in createFromUValue()
87 return DWARFFormValue(F, ValueType(V)); in createFromUValue()
90 DWARFFormValue DWARFFormValue::createFromPValue(dwarf::Form F, const char *V) { in createFromPValue()
94 DWARFFormValue DWARFFormValue::createFromBlockValue(dwarf::Form F, in createFromBlockValue()
99 return DWARFFormValue(F, V); in createFromBlockValue()
102 DWARFFormValue DWARFFormValue::createFromUnit(dwarf::Form F, const DWARFUnit *U, in createFromUnit()
104 DWARFFormValue FormValue(F); in createFromUnit()
[all …]
H A DDWARFDie.cpp95 assert((FormValue.isFormClass(DWARFFormValue::FC_Block) || in dumpLocationExpr()
126 const DWARFFormValue &FormValue = AttrValue.Value; in dumpAttribute()
183 FormValue.isFormClass(DWARFFormValue::FC_Block))) in dumpAttribute()
217 DWARFFormValue FV = DWARFFormValue::createFromUValue( in dumpAttribute()
259 std::optional<DWARFFormValue>
273 std::optional<DWARFFormValue>
308 if (std::optional<DWARFFormValue> F = find(Attr)) in getAttributeValueAsReferencedDie()
386 std::optional<DWARFFormValue> Value = find(DW_AT_ranges); in getAddressRanges()
410 std::optional<DWARFFormValue> Location = find(Attr); in getLocations()
696 AttrValue.Value = DWARFFormValue::createFromSValue( in updateForIndex()
[all …]
H A DDWARFAddressRange.cpp21 DWARFFormValue::dumpAddress(OS, AddressSize, LowPC); in dump()
23 DWARFFormValue::dumpAddress(OS, AddressSize, HighPC); in dump()
27 DWARFFormValue::dumpAddressSection(*Obj, OS, DumpOpts, SectionIndex); in dump()
H A DDWARFAbbreviationDeclaration.cpp182 DWARFFormValue::skipValue(AttributeSpecs[CurAttrIdx].Form, DebugInfoData, in getAttributeOffsetFromIndex()
187 std::optional<DWARFFormValue>
196 return DWARFFormValue::createFromSValue(Spec.Form, in getAttributeValueFromOffset()
199 DWARFFormValue FormValue(Spec.Form); in getAttributeValueFromOffset()
206 std::optional<DWARFFormValue>
H A DDWARFAcceleratorTable.cpp109 DWARFFormValue FormValue(Atom.second); in validateForms()
114 if ((!FormValue.isFormClass(DWARFFormValue::FC_Constant) && in validateForms()
115 !FormValue.isFormClass(DWARFFormValue::FC_Flag)) || in validateForms()
132 DWARFFormValue FormValue(Atom.second); in readAtoms()
159 std::optional<DWARFFormValue> Value) const { in extractOffset()
224 SmallVector<DWARFFormValue, 3> AtomForms; in dump()
232 AtomForms.push_back(DWARFFormValue(Atom.second)); in dump()
274 Values.push_back(DWARFFormValue(Atom.second)); in Entry()
282 std::optional<DWARFFormValue>
300 std::optional<DWARFFormValue> Tag = lookup(dwarf::DW_ATOM_die_tag); in getTag()
[all …]
H A DDWARFTypePrinter.cpp26 if (std::optional<DWARFFormValue> L = C.find(DW_AT_lower_bound)) in appendArrayType()
28 if (std::optional<DWARFFormValue> CountV = C.find(DW_AT_count)) in appendArrayType()
30 if (std::optional<DWARFFormValue> UpperV = C.find(DW_AT_upper_bound)) in appendArrayType()
32 if (std::optional<DWARFFormValue> LV = in appendArrayType()
69 static DWARFDie resolveReferencedType(DWARFDie D, DWARFFormValue F) { in resolveReferencedType()
H A DDWARFDebugArangeSet.cpp26 DWARFFormValue::dumpAddress(OS, AddressSize, Address); in dump()
28 DWARFFormValue::dumpAddress(OS, AddressSize, getEndAddress()); in dump()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFFormValue.h26 class DWARFFormValue {
64 DWARFFormValue(dwarf::Form F, ValueType V) : Form(F), Value(V) {} in DWARFFormValue() function
67 DWARFFormValue(dwarf::Form F = dwarf::Form(0)) : Form(F) {} in Form()
72 static DWARFFormValue createFromBlockValue(dwarf::Form F,
179 toString(const std::optional<DWARFFormValue> &V) { in toString()
228 toUnsigned(const std::optional<DWARFFormValue> &V) { in toUnsigned()
251 toReference(const std::optional<DWARFFormValue> &V) { in toReference()
296 toAddress(const std::optional<DWARFFormValue> &V) { in toAddress()
303 toSectionedAddress(const std::optional<DWARFFormValue> &V) { in toSectionedAddress()
326 toSectionOffset(const std::optional<DWARFFormValue> &V) { in toSectionOffset()
[all …]
H A DDWARFAbbreviationDeclaration.h43 DWARFFormValue getFormValue() const { in getFormValue()
45 return DWARFFormValue::createFromSValue(Form, getImplicitConstValue()); in getFormValue()
47 return DWARFFormValue(Form); in getFormValue()
151 std::optional<DWARFFormValue> getAttributeValue(const uint64_t DIEOffset,
172 std::optional<DWARFFormValue>
H A DDWARFDie.h141 std::optional<DWARFFormValue> find(dwarf::Attribute Attr) const;
154 std::optional<DWARFFormValue> find(ArrayRef<dwarf::Attribute> Attrs) const;
165 std::optional<DWARFFormValue>
182 DWARFDie getAttributeValueAsReferencedDie(const DWARFFormValue &V) const;
H A DDWARFAcceleratorTable.h41 SmallVector<DWARFFormValue, 3> Values;
75 ArrayRef<DWARFFormValue> getValues() const { return Values; } in getValues()
112 extractOffset(std::optional<DWARFFormValue> Value) const;
123 bool dumpName(ScopedPrinter &W, SmallVectorImpl<DWARFFormValue> &AtomForms,
224 std::optional<DWARFFormValue> lookup(HeaderData::AtomType Atom) const;
469 std::optional<DWARFFormValue> lookup(dwarf::Index Index) const;
H A DDWARFDebugLine.h33 DWARFFormValue Name;
38 DWARFFormValue Source;
92 std::vector<DWARFFormValue> IncludeDirectories;
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFAttribute.h24 DWARFFormValue::ValueType value) in DWARFAttribute()
29 DWARFFormValue::ValueType get_value() const { return m_value; } in get_value()
31 DWARFFormValue::ValueType &val) const { in get()
40 DWARFFormValue::ValueType m_value;
48 void Append(const DWARFFormValue &form_value, dw_offset_t attr_die_offset,
58 DWARFFormValue::ValueType ValueAtIndex(uint32_t i) const { in ValueAtIndex()
61 bool ExtractFormValueAtIndex(uint32_t i, DWARFFormValue &form_value) const;
H A DDWARFFormValue.cpp25 void DWARFFormValue::Clear() { in Clear()
31 bool DWARFFormValue::ExtractValue(const DWARFDataExtractor &data, in ExtractValue()
208 bool DWARFFormValue::SkipValue(dw_form_t form, in SkipValue()
335 void DWARFFormValue::Dump(Stream &s) const { in Dump()
460 const char *DWARFFormValue::AsCString() const { in AsCString()
485 dw_addr_t DWARFFormValue::Address() const { in Address()
504 DWARFFormValue::ReferencedUnitAndOffset() const { in ReferencedUnitAndOffset()
547 DWARFDIE DWARFFormValue::Reference() const { in Reference()
574 bool DWARFFormValue::IsBlockForm(const dw_form_t form) { in IsBlockForm()
588 bool DWARFFormValue::IsDataForm(const dw_form_t form) { in IsDataForm()
[all …]
H A DDWARFFormValue.h22 class DWARFFormValue {
43 DWARFFormValue() = default;
44 DWARFFormValue(const DWARFUnit *unit) : m_unit(unit) {} in DWARFFormValue() function
45 DWARFFormValue(const DWARFUnit *unit, dw_form_t form) in DWARFFormValue() function
85 static int Compare(const DWARFFormValue &a, const DWARFFormValue &b);
H A DDWARFDebugInfoEntry.cpp110 dw_attr_t &attr, DWARFFormValue &form_value) { in ExtractAttrAndFormValue()
145 DWARFFormValue form_value(cu); in GetDIENamesAndRanges()
310 DWARFFormValue form_value(cu); in GetAttributes()
343 DWARFFormValue::GetFixedSize(form, cu); in GetAttributes()
418 DWARFFormValue form_value; in GetAttributeValueAsString()
431 DWARFFormValue form_value; in GetAttributeValueAsUnsigned()
442 DWARFFormValue form_value; in GetAttributeValueAsOptionalUnsigned()
456 DWARFFormValue form_value; in GetAttributeValueAsReference()
466 DWARFFormValue form_value; in GetAttributeValueAsAddress()
482 DWARFFormValue form_value; in GetAttributeHighPC()
[all …]
H A DDWARFAttribute.cpp31 void DWARFAttributes::Append(const DWARFFormValue &form_value, in Append()
40 uint32_t i, DWARFFormValue &form_value) const { in ExtractFormValueAtIndex()
62 DWARFFormValue form_value; in FormValueAsReferenceAtIndex()
H A DDWARFASTParserClang.h96 const lldb_private::plugin::dwarf::DWARFFormValue &form_value) const;
290 std::optional<lldb_private::plugin::dwarf::DWARFFormValue> const_value_form;
291 lldb_private::plugin::dwarf::DWARFFormValue encoding_form;
442 lldb_private::plugin::dwarf::DWARFFormValue abstract_origin;
443 lldb_private::plugin::dwarf::DWARFFormValue containing_type;
444 lldb_private::plugin::dwarf::DWARFFormValue signature;
445 lldb_private::plugin::dwarf::DWARFFormValue specification;
446 lldb_private::plugin::dwarf::DWARFFormValue type;
H A DDWARFASTParser.cpp46 DWARFFormValue form_value; in ParseChildArrayInfo()
116 DWARFFormValue type_die_form; in GetTypeForDIE()
119 DWARFFormValue form_value; in GetTypeForDIE()
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DDIEAttributeCloner.h114 cloneStringAttr(const DWARFFormValue &Val,
119 cloneDieRefAttr(const DWARFFormValue &Val,
124 cloneScalarAttr(const DWARFFormValue &Val,
129 cloneBlockAttr(const DWARFFormValue &Val,
134 cloneAddressAttr(const DWARFFormValue &Val,
H A DDIEAttributeCloner.cpp51 DWARFFormValue::skipValue(AttrSpec.Form, Data, &Offset, in clone()
56 DWARFFormValue Val = AttrSpec.getFormValue(); in clone()
183 const DWARFFormValue &Val, in cloneStringAttr()
237 const DWARFFormValue &Val, in cloneDieRefAttr()
305 const DWARFFormValue &Val, in cloneScalarAttr()
489 DWARFFormValue::FC_SectionOffset, in cloneScalarAttr()
522 const DWARFFormValue &Val, in cloneBlockAttr()
535 (Val.isFormClass(DWARFFormValue::FC_Block) || in cloneBlockAttr()
536 Val.isFormClass(DWARFFormValue::FC_Exprloc))) { in cloneBlockAttr()
581 const DWARFFormValue &Val, in cloneAddressAttr()
[all …]
H A DSyntheticTypeNameBuilder.cpp46 if (std::optional<DWARFFormValue> Val = in addArrayDimension()
140 if (std::optional<DWARFFormValue> Val = in addTemplateParamNames()
241 if (std::optional<DWARFFormValue> DeclFileVal = InputUnitEntryPair.CU->find( in addDieNameFromDeclFileAndDeclLine()
243 if (std::optional<DWARFFormValue> DeclLineVal = InputUnitEntryPair.CU->find( in addDieNameFromDeclFileAndDeclLine()
265 if (std::optional<DWARFFormValue> Val = in addValueName()
282 if (std::optional<DWARFFormValue> AttrValue = in addReferencedODRDies()
323 if (std::optional<DWARFFormValue> Val = InputUnitEntryPair.CU->find( in addTypeName()
329 } else if (std::optional<DWARFFormValue> Val = InputUnitEntryPair.CU->find( in addTypeName()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVELFReader.cpp250 const DWARFFormValue &FormValue = in processOneAttribute()
251 DWARFFormValue::createFromUnit(AttrSpec.Form, U, OffsetPtr); in processOneAttribute()
260 auto GetFlag = [](const DWARFFormValue &FormValue) -> bool { in processOneAttribute()
261 return FormValue.isFormClass(DWARFFormValue::FC_Flag); in processOneAttribute()
317 if (FormValue.isFormClass(DWARFFormValue::FC_Block)) { in processOneAttribute()
443 auto GetRanges = [](const DWARFFormValue &FormValue, in processOneAttribute()
631 std::optional<DWARFFormValue> LinkageDIE = in processOneDie()
984 if (FormValue.isFormClass(DWARFFormValue::FC_Block) || in processLocationList()
986 FormValue.isFormClass(DWARFFormValue::FC_Exprloc))) { in processLocationList()
1002 FormValue.isFormClass(DWARFFormValue::FC_SectionOffset)) { in processLocationList()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Readers/
H A DLVELFReader.h113 const DWARFFormValue &FormValue,
116 const DWARFFormValue &FormValue, const DWARFDie &Die,
119 void updateReference(dwarf::Attribute Attr, const DWARFFormValue &FormValue);
/freebsd/contrib/llvm-project/llvm/include/llvm/DWARFLinker/Classic/
H A DDWARFLinker.h532 const DWARFFormValue &RefValue,
646 const DWARFFormValue &Val,
654 const DWARFFormValue &Val, const DWARFUnit &U,
663 const DWARFFormValue &Val,
679 const DWARFFormValue &Val,
687 const DWARFFormValue &Val,
696 const DWARFFormValue &Val, unsigned AttrSize,

123