Home
last modified time | relevance | path

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

123

/openbsd/gnu/llvm/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.cpp94 assert((FormValue.isFormClass(DWARFFormValue::FC_Block) || in dumpLocationExpr()
125 const DWARFFormValue &FormValue = AttrValue.Value; in dumpAttribute()
181 FormValue.isFormClass(DWARFFormValue::FC_Block))) in dumpAttribute()
214 DWARFFormValue FV = DWARFFormValue::createFromUValue( in dumpAttribute()
256 std::optional<DWARFFormValue>
270 std::optional<DWARFFormValue>
305 if (std::optional<DWARFFormValue> F = find(Attr)) in getAttributeValueAsReferencedDie()
383 std::optional<DWARFFormValue> Value = find(DW_AT_ranges); in getAddressRanges()
407 std::optional<DWARFFormValue> Location = find(Attr); in getLocations()
682 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.cpp160 DWARFFormValue::skipValue(AttributeSpecs[CurAttrIdx].Form, DebugInfoData, in getAttributeOffsetFromIndex()
165 std::optional<DWARFFormValue>
174 return DWARFFormValue::createFromSValue(Spec.Form, in getAttributeValueFromOffset()
177 DWARFFormValue FormValue(Spec.Form); in getAttributeValueFromOffset()
184 std::optional<DWARFFormValue>
H A DDWARFAcceleratorTable.cpp96 DWARFFormValue FormValue(Atom.second); in validateForms()
101 if ((!FormValue.isFormClass(DWARFFormValue::FC_Constant) && in validateForms()
102 !FormValue.isFormClass(DWARFFormValue::FC_Flag)) || in validateForms()
120 DWARFFormValue FormValue(Atom.second); in readAtoms()
147 std::optional<DWARFFormValue> Value) const { in extractOffset()
212 SmallVector<DWARFFormValue, 3> AtomForms; in dump()
220 AtomForms.push_back(DWARFFormValue(Atom.second)); in dump()
263 Values.push_back(DWARFFormValue(Atom.second)); in Entry()
275 std::optional<DWARFFormValue>
296 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()
H A DCMakeLists.txt23 DWARFFormValue.cpp
H A DDWARFDebugLine.cpp186 std::vector<DWARFFormValue> &IncludeDirectories, in parseV2DirFileTables()
199 DWARFFormValue Dir = in parseV2DirFileTables()
200 DWARFFormValue::createFromPValue(dwarf::DW_FORM_string, S.data()); in parseV2DirFileTables()
215 DWARFFormValue::createFromPValue(dwarf::DW_FORM_string, Name.data()); in parseV2DirFileTables()
272 std::vector<DWARFFormValue> &IncludeDirectories, in parseV5DirFileTables()
284 DWARFFormValue Value(Descriptor.Form); in parseV5DirFileTables()
313 DWARFFormValue Value(Descriptor.Form); in parseV5DirFileTables()
906 DWARFFormValue::dumpAddress(*OS, OpcodeAddressSize, State.Row.Address.Address); in parse()
937 DWARFFormValue::createFromPValue(dwarf::DW_FORM_string, Name); in parse()
/openbsd/gnu/llvm/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,
176 toString(const std::optional<DWARFFormValue> &V) { in toString()
225 toUnsigned(const std::optional<DWARFFormValue> &V) { in toUnsigned()
248 toReference(const std::optional<DWARFFormValue> &V) { in toReference()
293 toAddress(const std::optional<DWARFFormValue> &V) { in toAddress()
300 toSectionedAddress(const std::optional<DWARFFormValue> &V) { in toSectionedAddress()
323 toSectionOffset(const std::optional<DWARFFormValue> &V) { in toSectionOffset()
[all …]
H A DDWARFAbbreviationDeclaration.h22 class DWARFFormValue; variable
143 std::optional<DWARFFormValue> getAttributeValue(const uint64_t DIEOffset,
164 std::optional<DWARFFormValue>
H A DDWARFAcceleratorTable.h40 SmallVector<DWARFFormValue, 3> Values;
66 ArrayRef<DWARFFormValue> getValues() const { return Values; } in getValues()
103 extractOffset(std::optional<DWARFFormValue> Value) const;
112 bool dumpName(ScopedPrinter &W, SmallVectorImpl<DWARFFormValue> &AtomForms,
138 std::optional<DWARFFormValue> lookup(HeaderData::AtomType Atom) const;
317 std::optional<DWARFFormValue> lookup(dwarf::Index Index) const;
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 DDWARFDebugLine.h33 DWARFFormValue Name;
38 DWARFFormValue Source;
92 std::vector<DWARFFormValue> IncludeDirectories;
H A DDWARFAttribute.h32 DWARFFormValue Value;
/openbsd/gnu/llvm/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFAttribute.h22 DWARFFormValue::ValueType value) in DWARFAttribute()
27 DWARFFormValue::ValueType get_value() const { return m_value; } in get_value()
29 DWARFFormValue::ValueType &val) const { in get()
41 DWARFFormValue::ValueType m_value;
49 void Append(const DWARFFormValue &form_value, dw_offset_t attr_die_offset,
59 DWARFFormValue::ValueType ValueAtIndex(uint32_t i) const { in ValueAtIndex()
62 bool ExtractFormValueAtIndex(uint32_t i, DWARFFormValue &form_value) const;
H A DDWARFFormValue.cpp26 void DWARFFormValue::Clear() { in Clear()
32 bool DWARFFormValue::ExtractValue(const DWARFDataExtractor &data, in ExtractValue()
200 std::optional<uint8_t> DWARFFormValue::GetFixedSize() const { in GetFixedSize()
209 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()
503 DWARFDIE DWARFFormValue::Reference() const { in Reference()
568 bool DWARFFormValue::IsBlockForm(const dw_form_t form) { in IsBlockForm()
580 bool DWARFFormValue::IsDataForm(const dw_form_t form) { in IsDataForm()
[all …]
H A DDWARFFormValue.h20 class DWARFFormValue {
41 DWARFFormValue() = default;
42 DWARFFormValue(const DWARFUnit *unit) : m_unit(unit) {} in DWARFFormValue() function
43 DWARFFormValue(const DWARFUnit *unit, dw_form_t form) in DWARFFormValue() function
78 static int Compare(const DWARFFormValue &a, const DWARFFormValue &b);
H A DDWARFDebugInfoEntry.cpp81 DWARFFormValue::GetFixedSize(form, cu); in Extract()
261 DWARFFormValue form_value(cu); in GetDIENamesAndRanges()
423 DWARFFormValue form_value(cu); in GetAttributes()
456 DWARFFormValue::GetFixedSize(form, cu); in GetAttributes()
535 DWARFFormValue form_value; in GetAttributeValueAsString()
548 DWARFFormValue form_value; in GetAttributeValueAsUnsigned()
559 DWARFFormValue form_value; in GetAttributeValueAsOptionalUnsigned()
573 DWARFFormValue form_value; in GetAttributeValueAsReference()
583 DWARFFormValue form_value; in GetAttributeValueAsAddress()
599 DWARFFormValue form_value; in GetAttributeHighPC()
[all …]
H A DDWARFAttribute.cpp30 void DWARFAttributes::Append(const DWARFFormValue &form_value, in Append()
39 uint32_t i, DWARFFormValue &form_value) const { in ExtractFormValueAtIndex()
61 DWARFFormValue form_value; in FormValueAsReferenceAtIndex()
H A DDWARFASTParserClang.h90 const DWARFFormValue &form_value) const;
313 DWARFFormValue abstract_origin;
314 DWARFFormValue containing_type;
315 DWARFFormValue signature;
316 DWARFFormValue specification;
317 DWARFFormValue type;
/openbsd/gnu/llvm/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()
994 if (FormValue.isFormClass(DWARFFormValue::FC_Block) || in processLocationList()
996 FormValue.isFormClass(DWARFFormValue::FC_Exprloc))) { in processLocationList()
1012 FormValue.isFormClass(DWARFFormValue::FC_SectionOffset)) { in processLocationList()
[all …]
/openbsd/gnu/llvm/llvm/include/llvm/DebugInfo/LogicalView/Readers/
H A DLVELFReader.h108 const DWARFFormValue &FormValue,
111 const DWARFFormValue &FormValue, const DWARFDie &Die,
114 void updateReference(dwarf::Attribute Attr, const DWARFFormValue &FormValue);
/openbsd/gnu/llvm/llvm/include/llvm/DWARFLinker/
H A DDWARFLinker.h563 const DWARFFormValue &RefValue,
666 const DWARFFormValue &Val,
674 const DWARFFormValue &Val, const DWARFUnit &U,
684 const DWARFFormValue &Val,
698 const DWARFFormValue &Val, unsigned AttrSize,
705 unsigned AttrSize, const DWARFFormValue &Val,
714 const DWARFFormValue &Val, unsigned AttrSize,
/openbsd/gnu/llvm/llvm/lib/DWARFLinker/
H A DDWARFLinker.cpp72 assert(RefValue.isFormClass(DWARFFormValue::FC_Reference)); in resolveDIEReference()
660 DWARFFormValue Val(AttrSpec.Form); in lookForRefDIEsToKeep()
661 if (!Val.isFormClass(DWARFFormValue::FC_Reference) || in lookForRefDIEsToKeep()
663 DWARFFormValue::skipValue(AttrSpec.Form, Data, &Offset, in lookForRefDIEsToKeep()
1127 (Val.isFormClass(DWARFFormValue::FC_Block) || in cloneBlockAttribute()
1128 Val.isFormClass(DWARFFormValue::FC_Exprloc))) { in cloneBlockAttribute()
1445 !DWARFFormValue(AttrSpec.Form).isFormClass(DWARFFormValue::FC_Block); in shouldSkipAttribute()
1551 DWARFFormValue::skipValue(AttrSpec.Form, Data, &Offset, in cloneDIE()
1556 DWARFFormValue Val(AttrSpec.Form); in cloneDIE()
2048 std::optional<DWARFFormValue> Ref; in hashFullyQualifiedName()
[all …]

123