Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFFormValue.cpp31 static const DWARFFormValue::FormClass DWARF5FormClasses[] = {
32 DWARFFormValue::FC_Unknown, // 0x0
33 DWARFFormValue::FC_Address, // 0x01 DW_FORM_addr
34 DWARFFormValue::FC_Unknown, // 0x02 unused
35 DWARFFormValue::FC_Block, // 0x03 DW_FORM_block2
36 DWARFFormValue::FC_Block, // 0x04 DW_FORM_block4
37 DWARFFormValue::FC_Constant, // 0x05 DW_FORM_data2
39 DWARFFormValue::FC_Constant, // 0x06 DW_FORM_data4
40 DWARFFormValue::FC_Constant, // 0x07 DW_FORM_data8
42 DWARFFormValue::FC_String, // 0x08 DW_FORM_string
[all …]
H A DDWARFDie.cpp72 static void dumpLocationList(raw_ostream &OS, const DWARFFormValue &FormValue, in dumpLocationList()
75 assert(FormValue.isFormClass(DWARFFormValue::FC_SectionOffset) && in dumpLocationList()
92 static void dumpLocationExpr(raw_ostream &OS, const DWARFFormValue &FormValue, in dumpLocationExpr()
95 assert((FormValue.isFormClass(DWARFFormValue::FC_Block) || in dumpLocationExpr()
96 FormValue.isFormClass(DWARFFormValue::FC_Exprloc)) && in dumpLocationExpr()
106 static DWARFDie resolveReferencedType(DWARFDie D, DWARFFormValue F) { in resolveReferencedType()
126 const DWARFFormValue &FormValue = AttrValue.Value; in dumpAttribute()
173 DWARFFormValue::dumpAddress(OS, U->getAddressByteSize(), HighPC); in dumpAttribute()
178 FormValue.isFormClass(DWARFFormValue::FC_SectionOffset)) in dumpAttribute()
181 else if (FormValue.isFormClass(DWARFFormValue::FC_Exprloc) || in dumpAttribute()
[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()
176 SmallVectorImpl<DWARFFormValue> &AtomForms, in dumpName()
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>
[all …]
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.h27 class DWARFFormValue {
65 DWARFFormValue(dwarf::Form F, const ValueType &V) : Form(F), Value(V) {} in DWARFFormValue() function
68 DWARFFormValue(dwarf::Form F = dwarf::Form(0)) : Form(F) {} in Form()
70 LLVM_ABI static DWARFFormValue createFromSValue(dwarf::Form F, int64_t V);
71 LLVM_ABI static DWARFFormValue createFromUValue(dwarf::Form F, uint64_t V);
72 LLVM_ABI static DWARFFormValue createFromPValue(dwarf::Form F, const char *V);
73 LLVM_ABI static DWARFFormValue createFromBlockValue(dwarf::Form F,
75 LLVM_ABI static DWARFFormValue
153 return DWARFFormValue::skipValue(Form, DebugInfoData, OffsetPtr, Params); in skipValue()
182 toString(const std::optional<DWARFFormValue> &V) { in toString()
[all …]
H A DDWARFAbbreviationDeclaration.h44 DWARFFormValue getFormValue() const { in getFormValue()
46 return DWARFFormValue::createFromSValue(Form, getImplicitConstValue()); in getFormValue()
48 return DWARFFormValue(Form); in getFormValue()
153 LLVM_ABI std::optional<DWARFFormValue>
175 LLVM_ABI std::optional<DWARFFormValue>
H A DDWARFDie.h48 using DWARFFormValue = llvm::DWARFFormValue;
143 LLVM_ABI std::optional<DWARFFormValue> find(dwarf::Attribute Attr) const;
156 LLVM_ABI std::optional<DWARFFormValue>
168 LLVM_ABI std::optional<DWARFFormValue>
187 getAttributeValueAsReferencedDie(const DWARFFormValue &V) const;
192 LLVM_ABI DWARFDie resolveReferencedType(const DWARFFormValue &V) const;
H A DDWARFAcceleratorTable.h42 SmallVector<DWARFFormValue, 3> Values;
84 ArrayRef<DWARFFormValue> getValues() const { return Values; } in getValues()
121 extractOffset(std::optional<DWARFFormValue> Value) const;
132 bool dumpName(ScopedPrinter &W, SmallVectorImpl<DWARFFormValue> &AtomForms,
233 std::optional<DWARFFormValue> lookup(HeaderData::AtomType Atom) const;
503 std::optional<DWARFFormValue> lookup(dwarf::Index Index) const;
506 void dumpParentIdx(ScopedPrinter &W, const DWARFFormValue &FormValue) const;
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFFormValue.cpp25 void DWARFFormValue::Clear() { in Clear()
31 bool DWARFFormValue::ExtractValue(const DWARFDataExtractor &data, in ExtractValue()
188 std::optional<uint8_t> DWARFFormValue::GetFixedSize(dw_form_t form, in GetFixedSize()
197 std::optional<uint8_t> DWARFFormValue::GetFixedSize() const { in GetFixedSize()
201 bool DWARFFormValue::SkipValue(const DWARFDataExtractor &debug_info_data, in SkipValue()
203 return DWARFFormValue::SkipValue(m_form, debug_info_data, offset_ptr, m_unit); in SkipValue()
206 bool DWARFFormValue::SkipValue(dw_form_t form, in SkipValue()
323 return DWARFFormValue::SkipValue(indirect_form, debug_info_data, in SkipValue()
333 void DWARFFormValue::Dump(Stream &s) const { in Dump()
454 const char *DWARFFormValue::AsCString() const { in AsCString()
[all …]
H A DDWARFAttribute.h13 #include "DWARFFormValue.h"
24 DWARFFormValue::ValueType value)
29 DWARFFormValue::ValueType get_value() const { return m_value; } in get()
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, in DIEOffsetAtIndex()
58 DWARFFormValue::ValueType ValueAtIndex(uint32_t i) const {
61 bool ExtractFormValueAtIndex(uint32_t i, DWARFFormValue &form_value) const;
H A DDWARFFormValue.h22 class DWARFFormValue {
24 typedef llvm::DWARFFormValue::ValueType ValueType;
33 DWARFFormValue() = default;
34 DWARFFormValue(const DWARFUnit *unit) : m_unit(unit) {} in DWARFFormValue() function
35 DWARFFormValue(const DWARFUnit *unit, dw_form_t form) in DWARFFormValue() function
75 static int Compare(const DWARFFormValue &a, const DWARFFormValue &b);
H A DDWARFDebugInfoEntry.cpp77 if (DWARFFormValue::SkipValue(attribute.Form, data, offset_ptr, &unit)) in Extract()
86 GetRanges(DWARFUnit &unit, const DWARFFormValue &value) { in GetRanges()
94 dw_attr_t &attr, DWARFFormValue &form_value) { in ExtractAttrAndFormValue()
129 DWARFFormValue form_value(cu); in GetDIENamesAndRanges()
313 DWARFFormValue form_value(cu); in GetAttributes()
345 DWARFFormValue::GetFixedSize(form, cu); in GetAttributes()
349 DWARFFormValue::SkipValue(form, data, &offset, cu); in GetAttributes()
389 const DWARFUnit *cu, const dw_attr_t attr, DWARFFormValue &form_value, in GetAttributeValue()
400 DWARFFormValue::SkipValue(abbrevDecl->getFormByIndex(idx++), data, in GetAttributeValue()
443 DWARFFormValue form_value; in GetAttributeValueAsString()
[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 DDWARFBaseDIE.h27 class DWARFFormValue; variable
31 using DWARFFormValue = dwarf::DWARFFormValue;
H A DDWARFASTParserClang.h97 const lldb_private::plugin::dwarf::DWARFFormValue &form_value) const;
339 std::optional<lldb_private::plugin::dwarf::DWARFFormValue> const_value_form;
340 lldb_private::plugin::dwarf::DWARFFormValue encoding_form;
570 lldb_private::plugin::dwarf::DWARFFormValue abstract_origin;
571 lldb_private::plugin::dwarf::DWARFFormValue containing_type;
572 lldb_private::plugin::dwarf::DWARFFormValue signature;
573 lldb_private::plugin::dwarf::DWARFFormValue specification;
574 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()
H A DDWARFDIE.h131 DWARFDIE resolveReferencedType(DWARFFormValue v) const;
135 std::optional<DWARFFormValue> find(const dw_attr_t attr) const;
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVDWARFReader.cpp37 const DWARFFormValue &FormValue = in processOneAttribute()
38 DWARFFormValue::createFromUnit(AttrSpec.Form, U, OffsetPtr); in processOneAttribute()
50 auto GetFlag = [](const DWARFFormValue &FormValue) -> bool { in processOneAttribute()
51 return FormValue.isFormClass(DWARFFormValue::FC_Flag); in processOneAttribute()
54 auto GetBoundValue = [&AttrSpec](const DWARFFormValue &FormValue) -> int64_t { in processOneAttribute()
112 if (FormValue.isFormClass(DWARFFormValue::FC_Block)) { in processOneAttribute()
117 } else if (FormValue.isFormClass(DWARFFormValue::FC_Constant)) { in processOneAttribute()
255 auto GetRanges = [](const DWARFFormValue &FormValue, in processOneAttribute()
443 std::optional<DWARFFormValue> LinkageDIE = in processOneDie()
788 const DWARFFormValue &FormValue, in processLocationList()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Readers/
H A DLVDWARFReader.h102 const DWARFFormValue &FormValue,
105 const DWARFFormValue &FormValue, const DWARFDie &Die,
108 void updateReference(dwarf::Attribute Attr, const DWARFFormValue &FormValue);
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DSyntheticTypeNameBuilder.cpp45 if (std::optional<DWARFFormValue> Val = in addArrayDimension()
139 if (std::optional<DWARFFormValue> Val = in addTemplateParamNames()
240 if (std::optional<DWARFFormValue> DeclFileVal = InputUnitEntryPair.CU->find( in addDieNameFromDeclFileAndDeclLine()
242 if (std::optional<DWARFFormValue> DeclLineVal = InputUnitEntryPair.CU->find( in addDieNameFromDeclFileAndDeclLine()
264 if (std::optional<DWARFFormValue> Val = in addValueName()
281 if (std::optional<DWARFFormValue> AttrValue = in addReferencedODRDies()
322 if (std::optional<DWARFFormValue> Val = InputUnitEntryPair.CU->find( in addTypeName()
328 } else if (std::optional<DWARFFormValue> Val = InputUnitEntryPair.CU->find( in addTypeName()
/freebsd/contrib/llvm-project/llvm/include/llvm/DWARFLinker/Classic/
H A DDWARFLinker.h536 const DWARFFormValue &RefValue,
653 const DWARFFormValue &Val,
661 const DWARFFormValue &Val, const DWARFUnit &U,
670 const DWARFFormValue &Val,
686 const DWARFFormValue &Val,
694 const DWARFFormValue &Val,
703 const DWARFFormValue &Val, unsigned AttrSize,
/freebsd/contrib/llvm-project/llvm/include/llvm/DWARFLinker/
H A DDWARFLinker.h
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinkerParallel/
H A DDWARFLinkerCompileUnit.h

123