Searched refs:FormValue (Results 1 – 9 of 9) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/ |
H A D | LVDWARFReader.cpp | 251 const DWARFFormValue &FormValue = in processOneAttribute() local 258 : *FormValue.getAsUnsignedConstant(); in processOneAttribute() 261 auto GetFlag = [](const DWARFFormValue &FormValue) -> bool { in processOneAttribute() argument 262 return FormValue.isFormClass(DWARFFormValue::FC_Flag); in processOneAttribute() 265 auto GetBoundValue = [](const DWARFFormValue &FormValue) -> int64_t { in processOneAttribute() argument 266 switch (FormValue.getForm()) { in processOneAttribute() 274 return *FormValue.getAsReferenceUVal(); in processOneAttribute() 283 return *FormValue.getAsUnsignedConstant(); in processOneAttribute() 285 return *FormValue.getAsSignedConstant(); in processOneAttribute() 298 CurrentElement->setAccessibilityCode(*FormValue.getAsUnsignedConstant()); in processOneAttribute() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/ |
H A D | DWARFDie.cpp | 72 static void dumpLocationList(raw_ostream &OS, const DWARFFormValue &FormValue, in dumpLocationList() argument 75 assert(FormValue.isFormClass(DWARFFormValue::FC_SectionOffset) && in dumpLocationList() 78 uint64_t Offset = *FormValue.getAsSectionOffset(); in dumpLocationList() 80 if (FormValue.getForm() == DW_FORM_loclistx) { in dumpLocationList() 81 FormValue.dump(OS, DumpOpts); in dumpLocationList() 92 static void dumpLocationExpr(raw_ostream &OS, const DWARFFormValue &FormValue, in dumpLocationExpr() argument 95 assert((FormValue.isFormClass(DWARFFormValue::FC_Block) || in dumpLocationExpr() 96 FormValue.isFormClass(DWARFFormValue::FC_Exprloc)) && in dumpLocationExpr() 99 ArrayRef<uint8_t> Expr = *FormValue.getAsBlock(); in dumpLocationExpr() 126 const DWARFFormValue &FormValue = AttrValue.Value; in dumpAttribute() local [all …]
|
H A D | DWARFAcceleratorTable.cpp | 109 DWARFFormValue FormValue(Atom.second); in validateForms() local 114 if ((!FormValue.isFormClass(DWARFFormValue::FC_Constant) && in validateForms() 115 !FormValue.isFormClass(DWARFFormValue::FC_Flag)) || in validateForms() 116 FormValue.getForm() == dwarf::DW_FORM_sdata) in validateForms() 132 DWARFFormValue FormValue(Atom.second); in readAtoms() local 133 FormValue.extractValue(AccelSection, HashDataOffset, FormParams); in readAtoms() 136 DieOffset = *FormValue.getAsUnsignedConstant(); in readAtoms() 139 DieTag = (dwarf::Tag)*FormValue.getAsUnsignedConstant(); in readAtoms() 278 for (auto &FormValue : Values) in extract() local 279 FormValue.extractValue(Table.AccelSection, Offset, Table.FormParams); in extract() [all …]
|
H A D | DWARFAbbreviationDeclaration.cpp | 199 DWARFFormValue FormValue(Spec.Form); in getAttributeValueFromOffset() local 201 if (FormValue.extractValue(DebugInfoData, &Offset, U.getFormParams(), &U)) in getAttributeValueFromOffset() 202 return FormValue; in getAttributeValueFromOffset()
|
H A D | DWARFFormValue.cpp | 104 DWARFFormValue FormValue(F); in createFromUnit() local 105 FormValue.extractValue(U->getDebugInfoExtractor(), OffsetPtr, in createFromUnit() 107 return FormValue; in createFromUnit()
|
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/ |
H A D | DWARFYAML.cpp | 227 void MappingTraits<DWARFYAML::FormValue>::mapping( in mapping() 228 IO &IO, DWARFYAML::FormValue &FormValue) { in mapping() argument 229 IO.mapOptional("Value", FormValue.Value); in mapping() 230 if (!FormValue.CStr.empty() || !IO.outputting()) in mapping() 231 IO.mapOptional("CStr", FormValue.CStr); in mapping() 232 if (!FormValue.BlockData.empty() || !IO.outputting()) in mapping() 233 IO.mapOptional("BlockData", FormValue.BlockData); in mapping()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Readers/ |
H A D | LVDWARFReader.h | 113 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/ObjectYAML/ |
H A D | DWARFYAML.h | 93 struct FormValue { struct 101 std::vector<FormValue> Values; argument 283 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::DWARFYAML::FormValue) in LLVM_YAML_IS_SEQUENCE_VECTOR() 370 template <> struct MappingTraits<DWARFYAML::FormValue> { in LLVM_YAML_IS_SEQUENCE_VECTOR() 371 static void mapping(IO &IO, DWARFYAML::FormValue &FormValue); in LLVM_YAML_IS_SEQUENCE_VECTOR()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/ |
H A D | DWARFAcceleratorTable.h | 504 void dumpParentIdx(ScopedPrinter &W, const DWARFFormValue &FormValue) const;
|