Home
last modified time | relevance | path

Searched refs:FormValue (Results 1 – 16 of 16) sorted by relevance

/external/llvm/lib/DebugInfo/DWARF/
DDWARFDebugInfoEntry.cpp235 const DWARFUnit *U, const uint16_t Attr, DWARFFormValue &FormValue) const { in getAttributeValue()
255 FormValue = DWARFFormValue(AbbrevDecl->getFormByIndex(AttrIdx)); in getAttributeValue()
256 return FormValue.extractValue(DebugInfoData, &DebugInfoOffset, U); in getAttributeValue()
261 DWARFFormValue FormValue; in getAttributeValueAsString() local
262 if (!getAttributeValue(U, Attr, FormValue)) in getAttributeValueAsString()
264 Optional<const char *> Result = FormValue.getAsCString(U); in getAttributeValueAsString()
270 DWARFFormValue FormValue; in getAttributeValueAsAddress() local
271 if (!getAttributeValue(U, Attr, FormValue)) in getAttributeValueAsAddress()
273 Optional<uint64_t> Result = FormValue.getAsAddress(U); in getAttributeValueAsAddress()
279 DWARFFormValue FormValue; in getAttributeValueAsUnsignedConstant() local
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ObjectYAML/
DDWARFYAML.cpp114 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()
DDWARFVisitor.h26 struct FormValue;
43 virtual void onForm(AttributeAbbrev &AttAbbrev, FormValue &Value) {} in onForm()
53 const FormValue &Value) {} in onForm()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/obj2yaml/
Ddwarf2yaml.cpp139 DWARFYAML::FormValue NewValue; in dumpDebugInfo()
142 auto FormValue = DIEWrapper.find(AttrSpec.Attr); in dumpDebugInfo() local
143 if (!FormValue) in dumpDebugInfo()
145 auto Form = FormValue.getValue().getForm(); in dumpDebugInfo()
152 if (auto Val = FormValue.getValue().getAsAddress()) in dumpDebugInfo()
162 if (auto Val = FormValue.getValue().getAsReferenceUVal()) in dumpDebugInfo()
170 if (auto Val = FormValue.getValue().getAsBlock()) { in dumpDebugInfo()
186 if (auto Val = FormValue.getValue().getAsUnsignedConstant()) in dumpDebugInfo()
190 if (auto Val = FormValue.getValue().getAsCString()) in dumpDebugInfo()
195 if (auto Val = FormValue.getValue().getAsUnsignedConstant()) { in dumpDebugInfo()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/DWARF/
DDWARFAbbreviationDeclaration.cpp167 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()
DDWARFDie.cpp84 static void dumpLocation(raw_ostream &OS, DWARFFormValue &FormValue, in dumpLocation() argument
90 if (FormValue.isFormClass(DWARFFormValue::FC_Block) || in dumpLocation()
91 FormValue.isFormClass(DWARFFormValue::FC_Exprloc)) { in dumpLocation()
92 ArrayRef<uint8_t> Expr = *FormValue.getAsBlock(); in dumpLocation()
100 FormValue.dump(OS, DumpOpts); in dumpLocation()
101 if (FormValue.isFormClass(DWARFFormValue::FC_SectionOffset)) { in dumpLocation()
104 uint32_t Offset = *FormValue.getAsSectionOffset(); in dumpLocation()
364 if (auto FormValue = find(DW_AT_high_pc)) { in getHighPC() local
365 if (auto Address = FormValue->getAsAddress()) { in getHighPC()
369 if (auto Offset = FormValue->getAsUnsignedConstant()) { in getHighPC()
DDWARFAcceleratorTable.cpp97 DWARFFormValue FormValue(Atom.second); in validateForms() local
102 if ((!FormValue.isFormClass(DWARFFormValue::FC_Constant) && in validateForms()
103 !FormValue.isFormClass(DWARFFormValue::FC_Flag)) || in validateForms()
104 FormValue.getForm() == dwarf::DW_FORM_sdata) in validateForms()
121 DWARFFormValue FormValue(Atom.second); in readAtoms() local
122 FormValue.extractValue(AccelSection, &HashDataOffset, FormParams); in readAtoms()
125 DieOffset = *FormValue.getAsUnsignedConstant(); in readAtoms()
128 DieTag = (dwarf::Tag)*FormValue.getAsUnsignedConstant(); in readAtoms()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ObjectYAML/
DDWARFYAML.h90 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()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/DebugInfo/DWARF/
DDWARFDebugInfoTest.cpp246 Optional<DWARFFormValue> FormValue; in TestAllForms() local
250 FormValue = DieDG.find(Attr_DW_FORM_block); in TestAllForms()
251 EXPECT_TRUE((bool)FormValue); in TestAllForms()
252 BlockDataOpt = FormValue->getAsBlock(); in TestAllForms()
258 FormValue = DieDG.find(Attr_DW_FORM_block1); in TestAllForms()
259 EXPECT_TRUE((bool)FormValue); in TestAllForms()
260 BlockDataOpt = FormValue->getAsBlock(); in TestAllForms()
266 FormValue = DieDG.find(Attr_DW_FORM_block2); in TestAllForms()
267 EXPECT_TRUE((bool)FormValue); in TestAllForms()
268 BlockDataOpt = FormValue->getAsBlock(); in TestAllForms()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-dwarfdump/
DStatistics.cpp63 auto FormValue = Die.find(dwarf::DW_AT_location); in collectStatsForDie() local
64 HasLoc = FormValue.hasValue(); in collectStatsForDie()
67 if (auto DebugLocOffset = FormValue->getAsSectionOffset()) { in collectStatsForDie()
/external/syzkaller/syz-manager/
Dhtml.go166 crashID := r.FormValue("id")
183 call := r.FormValue("call")
229 if sig := r.FormValue("input"); sig != "" {
232 call := r.FormValue("call")
283 call := r.FormValue("call")
309 file := filepath.Clean(r.FormValue("name"))
329 crashID := r.FormValue("id")
/external/syzkaller/dashboard/app/
Dmain.go162 if accessLevel(c, r) == AccessAdmin && r.FormValue("fixed") == "" {
195 if id := r.FormValue("id"); id != "" {
200 } else if extID := r.FormValue("extid"); extID != "" {
264 if x := r.FormValue("x"); x != "" {
272 xid, err := strconv.ParseInt(r.FormValue("id"), 10, 64)
305 return handleTextImpl(c, w, r, r.FormValue("tag"))
341 onlyFixed := r.FormValue("fixed")
Daccess.go51 switch r.FormValue("access") {
/external/syzkaller/vendor/golang.org/x/net/trace/
Dtrace.go182 if req.FormValue("show_sensitive") == "0" {
186 if exp, err := strconv.ParseBool(req.FormValue("exp")); err == nil {
189 if exp, err := strconv.ParseBool(req.FormValue("rtraced")); err == nil {
265 fam, bStr := req.FormValue("fam"), req.FormValue("b")
Devents.go92 if exp, err := strconv.ParseBool(req.FormValue("exp")); err == nil {
105 fam, bStr := req.FormValue("fam"), req.FormValue("b")
/external/llvm/include/llvm/DebugInfo/DWARF/
DDWARFDebugInfoEntry.h90 DWARFFormValue &FormValue) const;