| /freebsd-12-stable/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/ |
| D | DWARFFormValue.cpp | 29 static const DWARFFormValue::FormClass DWARF5FormClasses[] = { 30 DWARFFormValue::FC_Unknown, // 0x0 31 DWARFFormValue::FC_Address, // 0x01 DW_FORM_addr 32 DWARFFormValue::FC_Unknown, // 0x02 unused 33 DWARFFormValue::FC_Block, // 0x03 DW_FORM_block2 34 DWARFFormValue::FC_Block, // 0x04 DW_FORM_block4 35 DWARFFormValue::FC_Constant, // 0x05 DW_FORM_data2 37 DWARFFormValue::FC_Constant, // 0x06 DW_FORM_data4 38 DWARFFormValue::FC_Constant, // 0x07 DW_FORM_data8 40 DWARFFormValue::FC_String, // 0x08 DW_FORM_string [all …]
|
| D | DWARFDie.cpp | 72 static void dumpLocationList(raw_ostream &OS, const DWARFFormValue &FormValue, in dumpLocationList() 75 assert(FormValue.isFormClass(DWARFFormValue::FC_SectionOffset) && in dumpLocationList() 95 static void dumpLocationExpr(raw_ostream &OS, const DWARFFormValue &FormValue, in dumpLocationExpr() 98 assert((FormValue.isFormClass(DWARFFormValue::FC_Block) || in dumpLocationExpr() 99 FormValue.isFormClass(DWARFFormValue::FC_Exprloc)) && in dumpLocationExpr() 126 if (Optional<DWARFFormValue> L = C.find(DW_AT_lower_bound)) in dumpArrayType() 128 if (Optional<DWARFFormValue> CountV = C.find(DW_AT_count)) in dumpArrayType() 130 if (Optional<DWARFFormValue> UpperV = C.find(DW_AT_upper_bound)) in dumpArrayType() 132 if (Optional<DWARFFormValue> LV = in dumpArrayType() 252 const DWARFFormValue &FormValue = AttrValue.Value; in dumpAttribute() [all …]
|
| D | DWARFAddressRange.cpp | 21 DWARFFormValue::dumpAddress(OS, AddressSize, LowPC); in dump() 23 DWARFFormValue::dumpAddress(OS, AddressSize, HighPC); in dump() 27 DWARFFormValue::dumpAddressSection(*Obj, OS, DumpOpts, SectionIndex); in dump()
|
| D | DWARFAbbreviationDeclaration.cpp | 150 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()
|
| D | DWARFAcceleratorTable.cpp | 97 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() 165 SmallVectorImpl<DWARFFormValue> &AtomForms, in dumpName() 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> [all …]
|
| D | DWARFDebugArangeSet.cpp | 25 DWARFFormValue::dumpAddress(OS, AddressSize, Address); in dump() 27 DWARFFormValue::dumpAddress(OS, AddressSize, getEndAddress()); in dump()
|
| D | DWARFDebugLine.cpp | 186 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()
|
| D | DWARFDebugRnglists.cpp | 215 DWARFFormValue::dumpAddress(OS << ' ', AddrSize, Value0); in dump() 223 DWARFFormValue::dumpAddress(OS << ' ', AddrSize, Value0); in dump()
|
| D | DWARFVerifier.cpp | 241 Optional<DWARFFormValue> CallAttr = in verifyDebugInfoCallSite() 1160 DWARFFormValue::FormClass Class; in verifyNameIndexAttribute() 1164 {dwarf::DW_IDX_compile_unit, DWARFFormValue::FC_Constant, {"constant"}}, in verifyNameIndexAttribute() 1165 {dwarf::DW_IDX_type_unit, DWARFFormValue::FC_Constant, {"constant"}}, in verifyNameIndexAttribute() 1166 {dwarf::DW_IDX_die_offset, DWARFFormValue::FC_Reference, {"reference"}}, in verifyNameIndexAttribute() 1167 {dwarf::DW_IDX_parent, DWARFFormValue::FC_Constant, {"constant"}}, in verifyNameIndexAttribute() 1181 if (!DWARFFormValue(AttrEnc.Form).isFormClass(Iter->Class)) { in verifyNameIndexAttribute()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/ |
| D | DWARFFormValue.h | 26 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); 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, 138 return DWARFFormValue::skipValue(Form, DebugInfoData, OffsetPtr, Params); in skipValue() 166 inline Optional<const char *> toString(const Optional<DWARFFormValue> &V) { in toString() [all …]
|
| D | DWARFDie.h | 142 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;
|
| D | DWARFAcceleratorTable.h | 40 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;
|
| D | DWARFAbbreviationDeclaration.h | 23 class DWARFFormValue; variable 143 Optional<DWARFFormValue> getAttributeValue(const uint64_t DIEOffset,
|
| D | DWARFDebugLine.h | 37 DWARFFormValue Name; 42 DWARFFormValue Source; 96 std::vector<DWARFFormValue> IncludeDirectories;
|
| D | DWARFAttribute.h | 32 DWARFFormValue Value;
|
| /freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/ |
| D | DWARFFormValue.cpp | 24 void DWARFFormValue::Clear() { in Clear() 30 bool DWARFFormValue::ExtractValue(const DWARFDataExtractor &data, in ExtractValue() 190 DWARFFormValue::GetFixedSize(dw_form_t form, const DWARFUnit *u) { in GetFixedSize() 198 llvm::Optional<uint8_t> DWARFFormValue::GetFixedSize() const { in GetFixedSize() 202 bool DWARFFormValue::SkipValue(const DWARFDataExtractor &debug_info_data, in SkipValue() 204 return DWARFFormValue::SkipValue(m_form, debug_info_data, offset_ptr, m_unit); in SkipValue() 207 bool DWARFFormValue::SkipValue(dw_form_t form, in SkipValue() 323 return DWARFFormValue::SkipValue(indirect_form, debug_info_data, offset_ptr, in SkipValue() 333 void DWARFFormValue::Dump(Stream &s) const { in Dump() 458 const char *DWARFFormValue::AsCString() const { in AsCString() [all …]
|
| D | DWARFAttribute.h | 22 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;
|
| D | DWARFFormValue.h | 20 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);
|
| D | DWARFDebugInfoEntry.cpp | 78 DWARFFormValue::GetFixedSize(form, cu); in Extract() 209 const DWARFFormValue &value) { in GetRangesOrReportError() 256 DWARFFormValue form_value(cu); in GetDIENamesAndRanges() 417 DWARFFormValue form_value(cu); in GetAttributes() 449 llvm::Optional<uint8_t> fixed_skip_size = DWARFFormValue::GetFixedSize(form, cu); in GetAttributes() 453 DWARFFormValue::SkipValue(form, data, &offset, cu); in GetAttributes() 469 const DWARFUnit *cu, const dw_attr_t attr, DWARFFormValue &form_value, in GetAttributeValue() 481 DWARFFormValue::SkipValue(abbrevDecl->GetFormByIndex(idx++), in GetAttributeValue() 528 DWARFFormValue form_value; in GetAttributeValueAsString() 541 DWARFFormValue form_value; in GetAttributeValueAsUnsigned() [all …]
|
| D | DWARFAttribute.cpp | 28 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()
|
| D | DWARFASTParserClang.h | 242 DWARFFormValue abstract_origin; 243 DWARFFormValue containing_type; 244 DWARFFormValue signature; 245 DWARFFormValue specification; 246 DWARFFormValue type;
|
| D | DWARFAbbreviationDeclaration.h | 36 DWARFFormValue &form_value) const { in GetAttrAndFormValueByIndex()
|
| D | DWARFAbbreviationDeclaration.cpp | 56 DWARFFormValue::ValueType val; in extract()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/DWARFLinker/ |
| D | DWARFLinker.h | 525 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-12-stable/contrib/llvm-project/llvm/lib/DWARFLinker/ |
| D | DWARFLinker.cpp | 67 const DWARFFormValue &RefValue, in resolveDIEReference() 70 assert(RefValue.isFormClass(DWARFFormValue::FC_Reference)); in resolveDIEReference() 226 if (Optional<DWARFFormValue> Val = DIE.find(dwarf::DW_AT_name)) in analyzeImportedModule() 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() 846 DIE &Die, AttributeSpec AttrSpec, const DWARFFormValue &Val, in cloneStringAttribute() 870 unsigned AttrSize, const DWARFFormValue &Val, const DWARFFile &File, in cloneDieReferenceAttribute() 1006 const DWARFFormValue &Val, unsigned AttrSize, bool IsLittleEndian) { in cloneBlockAttribute() 1033 (Val.isFormClass(DWARFFormValue::FC_Block) || in cloneBlockAttribute() [all …]
|