Searched refs:FormValue (Results 1 – 7 of 7) sorted by relevance
| /freebsd-12.1/contrib/llvm/lib/ObjectYAML/ |
| H A D | DWARFYAML.cpp | 114 void MappingTraits<DWARFYAML::FormValue>::mapping( in mapping() 115 IO &IO, DWARFYAML::FormValue &FormValue) { in mapping() argument 116 IO.mapOptional("Value", FormValue.Value); in mapping() 117 if (!FormValue.CStr.empty() || !IO.outputting()) in mapping() 118 IO.mapOptional("CStr", FormValue.CStr); in mapping() 119 if (!FormValue.BlockData.empty() || !IO.outputting()) in mapping() 120 IO.mapOptional("BlockData", FormValue.BlockData); in mapping()
|
| H A D | DWARFVisitor.h | 26 struct FormValue; 43 virtual void onForm(AttributeAbbrev &AttAbbrev, FormValue &Value) {} in onForm() 53 const FormValue &Value) {} in onForm()
|
| /freebsd-12.1/contrib/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFAbbreviationDeclaration.cpp | 167 DWARFFormValue FormValue(Spec.Form); in getAttributeValue() local 169 FormValue.setSValue(Spec.getImplicitConstValue()); in getAttributeValue() 170 return FormValue; in getAttributeValue() 172 if (FormValue.extractValue(DebugInfoData, &Offset, U.getFormParams(), &U)) in getAttributeValue() 173 return FormValue; in getAttributeValue()
|
| H A D | DWARFDie.cpp | 78 static void dumpLocation(raw_ostream &OS, DWARFFormValue &FormValue, in dumpLocation() argument 84 if (FormValue.isFormClass(DWARFFormValue::FC_Block) || in dumpLocation() 85 FormValue.isFormClass(DWARFFormValue::FC_Exprloc)) { in dumpLocation() 86 ArrayRef<uint8_t> Expr = *FormValue.getAsBlock(); in dumpLocation() 94 FormValue.dump(OS, DumpOpts); in dumpLocation() 95 if (FormValue.isFormClass(DWARFFormValue::FC_SectionOffset)) { in dumpLocation() 96 uint32_t Offset = *FormValue.getAsSectionOffset(); in dumpLocation() 453 if (auto FormValue = find(DW_AT_high_pc)) { in getHighPC() local 454 if (auto Address = FormValue->getAsAddress()) { in getHighPC() 458 if (auto Offset = FormValue->getAsUnsignedConstant()) { in getHighPC()
|
| H A D | DWARFAcceleratorTable.cpp | 98 DWARFFormValue FormValue(Atom.second); in validateForms() local 103 if ((!FormValue.isFormClass(DWARFFormValue::FC_Constant) && in validateForms() 104 !FormValue.isFormClass(DWARFFormValue::FC_Flag)) || in validateForms() 105 FormValue.getForm() == dwarf::DW_FORM_sdata) in validateForms() 122 DWARFFormValue FormValue(Atom.second); in readAtoms() local 123 FormValue.extractValue(AccelSection, &HashDataOffset, FormParams); in readAtoms() 126 DieOffset = *FormValue.getAsUnsignedConstant(); in readAtoms() 129 DieTag = (dwarf::Tag)*FormValue.getAsUnsignedConstant(); in readAtoms()
|
| /freebsd-12.1/contrib/llvm/include/llvm/ObjectYAML/ |
| H A D | DWARFYAML.h | 90 struct FormValue { struct 98 std::vector<FormValue> Values; argument 173 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::DWARFYAML::FormValue) in LLVM_YAML_IS_SEQUENCE_VECTOR() 218 template <> struct MappingTraits<DWARFYAML::FormValue> { in LLVM_YAML_IS_SEQUENCE_VECTOR() 219 static void mapping(IO &IO, DWARFYAML::FormValue &FormValue); in LLVM_YAML_IS_SEQUENCE_VECTOR()
|
| /freebsd-12.1/contrib/llvm/tools/llvm-dwarfdump/ |
| H A D | Statistics.cpp | 92 auto FormValue = Die.find(dwarf::DW_AT_location); in collectStatsForDie() local 93 HasLoc = FormValue.hasValue(); in collectStatsForDie() 96 if (auto DebugLocOffset = FormValue->getAsSectionOffset()) { in collectStatsForDie()
|