Lines Matching refs:isFormClass
35 bool isFormClass(uint16_t Form, DWARFFormValue::FormClass FC) { in isFormClass() function
36 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()
49 EXPECT_TRUE(isFormClass(DW_FORM_ref_addr, DWARFFormValue::FC_Reference)); in TEST()
50 EXPECT_TRUE(isFormClass(DW_FORM_ref_sig8, DWARFFormValue::FC_Reference)); in TEST()