Searched refs:isFormClass (Results 1 – 4 of 4) sorted by relevance
35 bool isFormClass(uint16_t Form, DWARFFormValue::FormClass FC) { in isFormClass() function36 return DWARFFormValue(Form).isFormClass(FC); in isFormClass()40 EXPECT_TRUE(isFormClass(DW_FORM_addr, DWARFFormValue::FC_Address)); in TEST()41 EXPECT_FALSE(isFormClass(DW_FORM_data8, DWARFFormValue::FC_Address)); in TEST()42 EXPECT_TRUE(isFormClass(DW_FORM_data8, DWARFFormValue::FC_Constant)); in TEST()43 EXPECT_TRUE(isFormClass(DW_FORM_data8, DWARFFormValue::FC_SectionOffset)); in TEST()45 isFormClass(DW_FORM_sec_offset, DWARFFormValue::FC_SectionOffset)); in TEST()46 EXPECT_TRUE(isFormClass(DW_FORM_GNU_str_index, DWARFFormValue::FC_String)); in TEST()47 EXPECT_TRUE(isFormClass(DW_FORM_GNU_addr_index, DWARFFormValue::FC_Address)); in TEST()48 EXPECT_FALSE(isFormClass(DW_FORM_ref_addr, DWARFFormValue::FC_Address)); in TEST()[all …]
111 bool DWARFFormValue::isFormClass(DWARFFormValue::FormClass FC) const { in isFormClass() function in DWARFFormValue496 if (!isFormClass(FC_String)) in getAsCString()516 if (!isFormClass(FC_Address)) in getAsAddress()529 if (!isFormClass(FC_Reference)) in getAsReference()549 if (!isFormClass(FC_SectionOffset)) in getAsSectionOffset()555 if ((!isFormClass(FC_Constant) && !isFormClass(FC_Flag)) in getAsUnsignedConstant()562 if ((!isFormClass(FC_Constant) && !isFormClass(FC_Flag)) || in getAsSignedConstant()580 if (!isFormClass(FC_Block) && !isFormClass(FC_Exprloc)) in getAsBlock()
57 bool isFormClass(FormClass FC) const;
1248 assert(RefValue.isFormClass(DWARFFormValue::FC_Reference)); in resolveDIEReference()1589 if (HighPcValue.isFormClass(DWARFFormValue::FC_Address)) { in shouldKeepSubprogramDIE()1592 assert(HighPcValue.isFormClass(DWARFFormValue::FC_Constant)); in shouldKeepSubprogramDIE()1658 if (!Val.isFormClass(DWARFFormValue::FC_Reference)) { in keepDIEAndDenpendencies()