Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFFormValue.cpp30 DWARFFormValue::FC_Unknown, // 0x0
80 DWARFFormValue DWARFFormValue::createFromSValue(dwarf::Form F, int64_t V) { in createFromSValue()
81 return DWARFFormValue(F, ValueType(V)); in createFromSValue()
84 DWARFFormValue DWARFFormValue::createFromUValue(dwarf::Form F, uint64_t V) { in createFromUValue()
88 DWARFFormValue DWARFFormValue::createFromPValue(dwarf::Form F, const char *V) { in createFromPValue()
92 DWARFFormValue DWARFFormValue::createFromBlockValue(dwarf::Form F, in createFromBlockValue()
97 return DWARFFormValue(F, V); in createFromBlockValue()
100 DWARFFormValue DWARFFormValue::createFromUnit(dwarf::Form F, const DWARFUnit *U, in createFromUnit()
102 DWARFFormValue FormValue(F); in createFromUnit()
212 bool DWARFFormValue::isFormClass(DWARFFormValue::FormClass FC) const { in isFormClass()
[all …]
H A DDWARFDie.cpp98 assert((FormValue.isFormClass(DWARFFormValue::FC_Block) || in dumpLocationExpr()
132 if (Optional<DWARFFormValue> LV = in dumpArrayType()
252 const DWARFFormValue &FormValue = AttrValue.Value; in dumpAttribute()
332 DWARFFormValue FV = DWARFFormValue::createFromUValue( in dumpAttribute()
364 Optional<DWARFFormValue>
378 Optional<DWARFFormValue>
413 if (Optional<DWARFFormValue> F = find(Attr)) in getAttributeValueAsReferencedDie()
477 Optional<DWARFFormValue> Value = find(DW_AT_ranges); in getAddressRanges()
516 Optional<DWARFFormValue> Location = find(Attr); in getLocations()
735 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.cpp150 Optional<DWARFFormValue> DWARFAbbreviationDeclaration::getAttributeValue( in getAttributeValue()
169 DWARFFormValue::skipValue(AttributeSpecs[CurAttrIdx].Form, DebugInfoData, in getAttributeValue()
175 return DWARFFormValue::createFromSValue(Spec.Form, in getAttributeValue()
178 DWARFFormValue FormValue(Spec.Form); in getAttributeValue()
H A DDWARFAcceleratorTable.cpp97 DWARFFormValue FormValue(Atom.second); in validateForms()
102 if ((!FormValue.isFormClass(DWARFFormValue::FC_Constant) && in validateForms()
103 !FormValue.isFormClass(DWARFFormValue::FC_Flag)) || in validateForms()
121 DWARFFormValue FormValue(Atom.second); in readAtoms()
148 Optional<DWARFFormValue> Value) const { in extractOffset()
213 SmallVector<DWARFFormValue, 3> AtomForms; in dump()
221 AtomForms.push_back(DWARFFormValue(Atom.second)); in dump()
264 Values.push_back(DWARFFormValue(Atom.second)); in Entry()
276 Optional<DWARFFormValue>
296 Optional<DWARFFormValue> Tag = lookup(dwarf::DW_ATOM_die_tag); in getTag()
[all …]
H A DDWARFDebugArangeSet.cpp25 DWARFFormValue::dumpAddress(OS, AddressSize, Address); in dump()
27 DWARFFormValue::dumpAddress(OS, AddressSize, getEndAddress()); in dump()
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()
902 DWARFFormValue::dumpAddress(*OS, OpcodeAddressSize, State.Row.Address.Address); in parse()
933 DWARFFormValue::createFromPValue(dwarf::DW_FORM_string, Name); in parse()
H A DDWARFDebugRnglists.cpp215 DWARFFormValue::dumpAddress(OS << ' ', AddrSize, Value0); in dump()
223 DWARFFormValue::dumpAddress(OS << ' ', AddrSize, Value0); in dump()
H A DDWARFDebugInfoEntry.cpp87 } else if (!DWARFFormValue::skipValue(AttrSpec.Form, DebugInfoData, in extractFast()
/freebsd-13.1/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()
69 static DWARFFormValue createFromSValue(dwarf::Form F, int64_t V);
70 static DWARFFormValue createFromUValue(dwarf::Form F, uint64_t V);
72 static DWARFFormValue createFromBlockValue(dwarf::Form F,
177 inline StringRef toStringRef(const Optional<DWARFFormValue> &V,
191 inline const char *toString(const Optional<DWARFFormValue> &V, in toString()
213 inline uint64_t toUnsigned(const Optional<DWARFFormValue> &V, in toUnsigned()
235 inline uint64_t toReference(const Optional<DWARFFormValue> &V, in toReference()
[all …]
H A DDWARFDie.h142 Optional<DWARFFormValue> find(dwarf::Attribute Attr) const;
155 Optional<DWARFFormValue> find(ArrayRef<dwarf::Attribute> Attrs) const;
166 Optional<DWARFFormValue>
183 DWARFDie getAttributeValueAsReferencedDie(const DWARFFormValue &V) const;
H A DDWARFAcceleratorTable.h40 SmallVector<DWARFFormValue, 3> Values;
66 ArrayRef<DWARFFormValue> getValues() const { return Values; } in getValues()
102 Optional<uint64_t> extractOffset(Optional<DWARFFormValue> Value) const;
111 bool dumpName(ScopedPrinter &W, SmallVectorImpl<DWARFFormValue> &AtomForms,
137 Optional<DWARFFormValue> lookup(HeaderData::AtomType Atom) const;
316 Optional<DWARFFormValue> lookup(dwarf::Index Index) const;
H A DDWARFAbbreviationDeclaration.h23 class DWARFFormValue; variable
143 Optional<DWARFFormValue> getAttributeValue(const uint64_t DIEOffset,
H A DDWARFDebugLine.h37 DWARFFormValue Name;
42 DWARFFormValue Source;
96 std::vector<DWARFFormValue> IncludeDirectories;
H A DDWARFAttribute.h32 DWARFFormValue Value;
/freebsd-13.1/contrib/llvm-project/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.cpp24 void DWARFFormValue::Clear() { in Clear()
30 bool DWARFFormValue::ExtractValue(const DWARFDataExtractor &data, in ExtractValue()
198 llvm::Optional<uint8_t> DWARFFormValue::GetFixedSize() const { in GetFixedSize()
207 bool DWARFFormValue::SkipValue(dw_form_t form, in SkipValue()
333 void DWARFFormValue::Dump(Stream &s) const { in Dump()
458 const char *DWARFFormValue::AsCString() const { in AsCString()
483 dw_addr_t DWARFFormValue::Address() const { in Address()
501 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.cpp78 DWARFFormValue::GetFixedSize(form, cu); in Extract()
256 DWARFFormValue form_value(cu); in GetDIENamesAndRanges()
417 DWARFFormValue form_value(cu); in GetAttributes()
453 DWARFFormValue::SkipValue(form, data, &offset, cu); in GetAttributes()
481 DWARFFormValue::SkipValue(abbrevDecl->GetFormByIndex(idx++), in GetAttributeValue()
528 DWARFFormValue form_value; in GetAttributeValueAsString()
541 DWARFFormValue form_value; in GetAttributeValueAsUnsigned()
555 DWARFFormValue form_value; in GetAttributeValueAsReference()
565 DWARFFormValue form_value; in GetAttributeValueAsAddress()
581 DWARFFormValue form_value; in GetAttributeHighPC()
[all …]
H A DDWARFAttribute.cpp28 void DWARFAttributes::Append(const DWARFFormValue &form_value, in Append()
37 uint32_t i, DWARFFormValue &form_value) const { in ExtractFormValueAtIndex()
59 DWARFFormValue form_value; in FormValueAsReferenceAtIndex()
H A DDWARFASTParserClang.h242 DWARFFormValue abstract_origin;
243 DWARFFormValue containing_type;
244 DWARFFormValue signature;
245 DWARFFormValue specification;
246 DWARFFormValue type;
H A DDWARFAbbreviationDeclaration.h36 DWARFFormValue &form_value) const { in GetAttrAndFormValueByIndex()
H A DDWARFAbbreviationDeclaration.cpp56 DWARFFormValue::ValueType val; in extract()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/DWARFLinker/
H A DDWARFLinker.h525 const DWARFFormValue &RefValue,
624 const DWARFFormValue &Val,
632 const DWARFFormValue &Val, const DWARFUnit &U,
642 const DWARFFormValue &Val,
656 const DWARFFormValue &Val, unsigned AttrSize,
663 const DWARFFormValue &Val,
672 const DWARFFormValue &Val, unsigned AttrSize,
/freebsd-13.1/contrib/llvm-project/llvm/lib/DWARFLinker/
H A DDWARFLinker.cpp70 assert(RefValue.isFormClass(DWARFFormValue::FC_Reference)); in resolveDIEReference()
634 DWARFFormValue Val(AttrSpec.Form); in lookForRefDIEsToKeep()
635 if (!Val.isFormClass(DWARFFormValue::FC_Reference) || in lookForRefDIEsToKeep()
637 DWARFFormValue::skipValue(AttrSpec.Form, Data, &Offset, in lookForRefDIEsToKeep()
1033 (Val.isFormClass(DWARFFormValue::FC_Block) || in cloneBlockAttribute()
1034 Val.isFormClass(DWARFFormValue::FC_Exprloc))) { in cloneBlockAttribute()
1328 !DWARFFormValue(AttrSpec.Form).isFormClass(DWARFFormValue::FC_Block); in shouldSkipAttribute()
1431 DWARFFormValue::skipValue(AttrSpec.Form, Data, &Offset, in cloneDIE()
1436 DWARFFormValue Val(AttrSpec.Form); in cloneDIE()
1930 Optional<DWARFFormValue> Ref; in hashFullyQualifiedName()
[all …]

12