• Home
  • Raw
  • Download

Lines Matching refs:DWARFFormValue

23 bool isFormClass(dwarf::Form Form, DWARFFormValue::FormClass FC) {  in isFormClass()
24 return DWARFFormValue(Form).isFormClass(FC); in isFormClass()
27 TEST(DWARFFormValue, FormClass) { in TEST() argument
28 EXPECT_TRUE(isFormClass(DW_FORM_addr, DWARFFormValue::FC_Address)); in TEST()
29 EXPECT_FALSE(isFormClass(DW_FORM_data8, DWARFFormValue::FC_Address)); in TEST()
30 EXPECT_TRUE(isFormClass(DW_FORM_data8, DWARFFormValue::FC_Constant)); in TEST()
31 EXPECT_TRUE(isFormClass(DW_FORM_data8, DWARFFormValue::FC_SectionOffset)); in TEST()
33 isFormClass(DW_FORM_sec_offset, DWARFFormValue::FC_SectionOffset)); in TEST()
34 EXPECT_TRUE(isFormClass(DW_FORM_GNU_str_index, DWARFFormValue::FC_String)); in TEST()
35 EXPECT_TRUE(isFormClass(DW_FORM_GNU_addr_index, DWARFFormValue::FC_Address)); in TEST()
36 EXPECT_FALSE(isFormClass(DW_FORM_ref_addr, DWARFFormValue::FC_Address)); in TEST()
37 EXPECT_TRUE(isFormClass(DW_FORM_ref_addr, DWARFFormValue::FC_Reference)); in TEST()
38 EXPECT_TRUE(isFormClass(DW_FORM_ref_sig8, DWARFFormValue::FC_Reference)); in TEST()
42 DWARFFormValue createDataXFormValue(dwarf::Form Form, RawTypeT Value) { in createDataXFormValue()
46 DWARFFormValue Result(Form); in createDataXFormValue()
53 DWARFFormValue createULEBFormValue(uint64_t Value) { in createULEBFormValue()
58 DWARFFormValue Result(DW_FORM_udata); in createULEBFormValue()
64 DWARFFormValue createSLEBFormValue(int64_t Value) { in createSLEBFormValue()
69 DWARFFormValue Result(DW_FORM_sdata); in createSLEBFormValue()
75 TEST(DWARFFormValue, SignedConstantForms) { in TEST() argument
113 DWARFFormValue Data16(DW_FORM_data16); in TEST()
147 EXPECT_EQ(DWARFFormValue::skipValue(Fm, Data, &Offset, in doSkipValueTest()
321 DWARFFormValue Form(Fm); in TEST_P()
360 DWARFFormValue Form(Fm); in TEST_P()