Lines Matching refs:Form
83 DWARFFormValue DWARFFormValue::createFromSValue(dwarf::Form F, int64_t V) { in createFromSValue()
87 DWARFFormValue DWARFFormValue::createFromUValue(dwarf::Form F, uint64_t V) { in createFromUValue()
91 DWARFFormValue DWARFFormValue::createFromPValue(dwarf::Form F, const char *V) { in createFromPValue()
95 DWARFFormValue DWARFFormValue::createFromBlockValue(dwarf::Form F, in createFromBlockValue()
103 DWARFFormValue DWARFFormValue::createFromUnit(dwarf::Form F, const DWARFUnit *U, in createFromUnit()
111 bool DWARFFormValue::skipValue(dwarf::Form Form, DataExtractor DebugInfoData, in skipValue() argument
116 switch (Form) { in skipValue()
176 dwarf::getFixedFormByteSize(Form, Params)) { in skipValue()
205 Form = static_cast<dwarf::Form>(DebugInfoData.getULEB128(OffsetPtr)); in skipValue()
217 if (Form < makeArrayRef(DWARF5FormClasses).size() && in isFormClass()
218 DWARF5FormClasses[Form] == FC) in isFormClass()
221 switch (Form) { in isFormClass()
236 if (Form == DW_FORM_strp || Form == DW_FORM_line_strp) in isFormClass()
240 if (Form == DW_FORM_data4 || Form == DW_FORM_data8) in isFormClass()
264 switch (Form) { in extractValue()
268 (Form == DW_FORM_addr) ? FP.AddrSize : FP.getRefAddrByteSize(); in extractValue()
344 Form = static_cast<dwarf::Form>(Data.getULEB128(OffsetPtr, &Err)); in extractValue()
415 switch (Form) { in dump()
488 switch (Form) { in dump()
603 OS << format("DW_FORM(0x%4.4x)", Form); in dump()
631 if (Form == DW_FORM_string) in getAsCString()
634 if (Form == DW_FORM_GNU_strp_alt || C == nullptr) in getAsCString()
639 if (Form == DW_FORM_GNU_str_index || Form == DW_FORM_strx || in getAsCString()
640 Form == DW_FORM_strx1 || Form == DW_FORM_strx2 || Form == DW_FORM_strx3 || in getAsCString()
641 Form == DW_FORM_strx4) { in getAsCString()
654 DataExtractor StrData = Form == DW_FORM_line_strp in getAsCString()
660 std::string Msg = FormEncodingString(Form).str(); in getAsCString()
678 bool AddrOffset = Form == dwarf::DW_FORM_LLVM_addrx_offset; in getAsSectionedAddress()
679 if (Form == DW_FORM_GNU_addr_index || Form == DW_FORM_addrx || AddrOffset) { in getAsSectionedAddress()
703 switch (Form) { in getAsRelativeReference()
729 Form == DW_FORM_sdata) in getAsUnsignedConstant()
736 (Form == DW_FORM_udata && in getAsSignedConstant()
739 switch (Form) { in getAsSignedConstant()
755 Form != DW_FORM_data16) in getAsBlock()
761 if (!isFormClass(FC_String) && Form == DW_FORM_string) in getAsCStringOffset()