Home
last modified time | relevance | path

Searched refs:DWARFFormValue (Results 1 – 25 of 53) 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 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, const 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);
71 static DWARFFormValue createFromPValue(dwarf::Form F, const char *V);
72 static DWARFFormValue createFromBlockValue(dwarf::Form F,
74 static DWARFFormValue createFromUnit(dwarf::Form F, const DWARFUnit *Unit,
148 return DWARFFormValue::skipValue(Form, DebugInfoData, OffsetPtr, Params); in skipValue()
177 toString(const std::optional<DWARFFormValue> &V) { in toString()
[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;
83 ArrayRef<DWARFFormValue> getValues() const { return Values; } in getValues()
120 extractOffset(std::optional<DWARFFormValue> Value) const;
131 bool dumpName(ScopedPrinter &W, SmallVectorImpl<DWARFFormValue> &AtomForms,
232 std::optional<DWARFFormValue> lookup(HeaderData::AtomType Atom) const;
501 std::optional<DWARFFormValue> lookup(dwarf::Index Index) const;
504 void dumpParentIdx(ScopedPrinter &W, const DWARFFormValue &FormValue) const;
H A DDWARFDebugLine.h33 DWARFFormValue Name;
38 DWARFFormValue Source;
92 std::vector<DWARFFormValue> IncludeDirectories;
H A DDWARFAttribute.h32 DWARFFormValue Value;
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
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.cpp1 //===-- DWARFFormValue.cpp ------------------------------------------------===//
18 #include "DWARFFormValue.h"
25 void DWARFFormValue::Clear() {
31 bool DWARFFormValue::ExtractValue(const DWARFDataExtractor &data,
190 std::optional<uint8_t> DWARFFormValue::GetFixedSize(dw_form_t form,
199 std::optional<uint8_t> DWARFFormValue::GetFixedSize() const {
203 bool DWARFFormValue::SkipValue(const DWARFDataExtractor &debug_info_data,
205 return DWARFFormValue::SkipValue(m_form, debug_info_data, offset_ptr, m_unit); in SkipValue()
208 bool DWARFFormValue::SkipValue(dw_form_t form,
325 return DWARFFormValue in SkipValue()
[all...]
H A DDWARFFormValue.h1 //===-- DWARFFormValue.h ----------------------------------------*- C++ -*-===//
22 class DWARFFormValue {
43 DWARFFormValue() = default; in DWARFFormValue() function
44 DWARFFormValue(const DWARFUnit *unit) : m_unit(unit) {} in DWARFFormValue()
45 DWARFFormValue(const DWARFUnit *unit, dw_form_t form) in GetUnit()
85 static int Compare(const DWARFFormValue &a, const DWARFFormValue &b);
42 DWARFFormValue(const DWARFUnit *unit) : m_unit(unit) {} DWARFFormValue() function
H A DDWARFDebugInfoEntry.cpp78 if (DWARFFormValue::SkipValue(attribute.Form, data, offset_ptr, &unit)) in Extract()
88 const DWARFFormValue &value) { in GetRangesOrReportError()
108 dw_attr_t &attr, DWARFFormValue &form_value) { in ExtractAttrAndFormValue()
143 DWARFFormValue form_value(cu); in GetDIENamesAndRanges()
308 DWARFFormValue form_value(cu); in GetAttributes()
341 DWARFFormValue::GetFixedSize(form, cu); in GetAttributes()
345 DWARFFormValue::SkipValue(form, data, &offset, cu); in GetAttributes()
357 const DWARFUnit *cu, const dw_attr_t attr, DWARFFormValue &form_value, in GetAttributeValue()
369 DWARFFormValue::SkipValue(abbrevDecl->getFormByIndex(idx++), data, in GetAttributeValue()
416 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 DDWARFASTParserClang.h97 const lldb_private::plugin::dwarf::DWARFFormValue &form_value) const;
296 std::optional<lldb_private::plugin::dwarf::DWARFFormValue> const_value_form;
297 lldb_private::plugin::dwarf::DWARFFormValue encoding_form;
498 lldb_private::plugin::dwarf::DWARFFormValue abstract_origin;
499 lldb_private::plugin::dwarf::DWARFFormValue containing_type;
500 lldb_private::plugin::dwarf::DWARFFormValue signature;
501 lldb_private::plugin::dwarf::DWARFFormValue specification;
502 lldb_private::plugin::dwarf::DWARFFormValue type;
H A DAppleDWARFIndex.cpp82 std::optional<llvm::DWARFFormValue> form_value = in EntryHasMatchingQualhash()
95 std::optional<llvm::DWARFFormValue> form_value = in EntryHasMatchingTag()
111 std::optional<llvm::DWARFFormValue> form_value = in HasImplementationFlag()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVDWARFReader.cpp251 const DWARFFormValue &FormValue = in processOneAttribute()
252 DWARFFormValue::createFromUnit(AttrSpec.Form, U, OffsetPtr); in processOneAttribute()
261 auto GetFlag = [](const DWARFFormValue &FormValue) -> bool { in processOneAttribute()
262 return FormValue.isFormClass(DWARFFormValue::FC_Flag); in processOneAttribute()
265 auto GetBoundValue = [](const DWARFFormValue &FormValue) -> int64_t { in processOneAttribute()
318 if (FormValue.isFormClass(DWARFFormValue::FC_Block)) { in processOneAttribute()
323 } else if (FormValue.isFormClass(DWARFFormValue::FC_Constant)) { in processOneAttribute()
453 auto GetRanges = [](const DWARFFormValue &FormValue, in processOneAttribute()
644 std::optional<DWARFFormValue> LinkageDIE = in processOneDie()
985 const DWARFFormValue &FormValue, in processLocationList()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Readers/
H A DLVDWARFReader.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/
H A DDWARFLinker.h
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinkerParallel/
H A DDWARFLinkerCompileUnit.h
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/
H A DDWARFLinker.cpp

123