Searched refs:isFormClass (Results 1 – 11 of 11) sorted by relevance
/external/llvm/unittests/DebugInfo/DWARF/ |
D | DWARFFormValueTest.cpp | 36 bool isFormClass(uint16_t Form, DWARFFormValue::FormClass FC) { in isFormClass() function 37 return DWARFFormValue(Form).isFormClass(FC); in isFormClass() 41 EXPECT_TRUE(isFormClass(DW_FORM_addr, DWARFFormValue::FC_Address)); in TEST() 42 EXPECT_FALSE(isFormClass(DW_FORM_data8, DWARFFormValue::FC_Address)); in TEST() 43 EXPECT_TRUE(isFormClass(DW_FORM_data8, DWARFFormValue::FC_Constant)); in TEST() 44 EXPECT_TRUE(isFormClass(DW_FORM_data8, DWARFFormValue::FC_SectionOffset)); in TEST() 46 isFormClass(DW_FORM_sec_offset, DWARFFormValue::FC_SectionOffset)); in TEST() 47 EXPECT_TRUE(isFormClass(DW_FORM_GNU_str_index, DWARFFormValue::FC_String)); in TEST() 48 EXPECT_TRUE(isFormClass(DW_FORM_GNU_addr_index, DWARFFormValue::FC_Address)); in TEST() 49 EXPECT_FALSE(isFormClass(DW_FORM_ref_addr, DWARFFormValue::FC_Address)); in TEST() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/DebugInfo/DWARF/ |
D | DWARFFormValueTest.cpp | 23 bool isFormClass(dwarf::Form Form, DWARFFormValue::FormClass FC) { in isFormClass() function 24 return DWARFFormValue(Form).isFormClass(FC); in isFormClass() 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() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/DWARF/ |
D | DWARFFormValue.cpp | 179 bool DWARFFormValue::isFormClass(DWARFFormValue::FormClass FC) const { in isFormClass() function in DWARFFormValue 522 if (!isFormClass(FC_String)) in getAsCString() 557 if (!isFormClass(FC_Address)) in getAsAddress() 570 if (!isFormClass(FC_Reference)) in getAsReference() 591 if (!isFormClass(FC_SectionOffset)) in getAsSectionOffset() 597 if ((!isFormClass(FC_Constant) && !isFormClass(FC_Flag)) || in getAsUnsignedConstant() 604 if ((!isFormClass(FC_Constant) && !isFormClass(FC_Flag)) || in getAsSignedConstant() 623 if (!isFormClass(FC_Block) && !isFormClass(FC_Exprloc) && in getAsBlock() 630 if (!isFormClass(FC_String) && Form == DW_FORM_string) in getAsCStringOffset() 636 if (!isFormClass(FC_Reference)) in getAsReferenceUVal()
|
D | DWARFDie.cpp | 90 if (FormValue.isFormClass(DWARFFormValue::FC_Block) || in dumpLocation() 91 FormValue.isFormClass(DWARFFormValue::FC_Exprloc)) { in dumpLocation() 101 if (FormValue.isFormClass(DWARFFormValue::FC_SectionOffset)) { in dumpLocation()
|
D | DWARFAcceleratorTable.cpp | 102 if ((!FormValue.isFormClass(DWARFFormValue::FC_Constant) && in validateForms() 103 !FormValue.isFormClass(DWARFFormValue::FC_Flag)) || in validateForms()
|
D | DWARFVerifier.cpp | 995 if (!DWARFFormValue(AttrEnc.Form).isFormClass(Iter->Class)) { in verifyNameIndexAttribute()
|
/external/llvm/lib/DebugInfo/DWARF/ |
D | DWARFFormValue.cpp | 111 bool DWARFFormValue::isFormClass(DWARFFormValue::FormClass FC) const { in isFormClass() function in DWARFFormValue 506 if (!isFormClass(FC_String)) in getAsCString() 527 if (!isFormClass(FC_Address)) in getAsAddress() 540 if (!isFormClass(FC_Reference)) in getAsReference() 560 if (!isFormClass(FC_SectionOffset)) in getAsSectionOffset() 566 if ((!isFormClass(FC_Constant) && !isFormClass(FC_Flag)) in getAsUnsignedConstant() 573 if ((!isFormClass(FC_Constant) && !isFormClass(FC_Flag)) || in getAsSignedConstant() 591 if (!isFormClass(FC_Block) && !isFormClass(FC_Exprloc)) in getAsBlock()
|
/external/llvm/include/llvm/DebugInfo/DWARF/ |
D | DWARFFormValue.h | 57 bool isFormClass(FormClass FC) const;
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/DWARF/ |
D | DWARFFormValue.h | 75 bool isFormClass(FormClass FC) const;
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/dsymutil/ |
D | DwarfLinker.cpp | 127 assert(RefValue.isFormClass(DWARFFormValue::FC_Reference)); in resolveDIEReference() 708 if (!Val.isFormClass(DWARFFormValue::FC_Reference) || in keepDIEAndDependencies() 1362 !DWARFFormValue(AttrSpec.Form).isFormClass(DWARFFormValue::FC_Block); in shouldSkipAttribute() 1986 if (!Ref->isFormClass(DWARFFormValue::FC_Reference)) in hashFullyQualifiedName()
|
/external/llvm/tools/dsymutil/ |
D | DwarfLinker.cpp | 1488 assert(RefValue.isFormClass(DWARFFormValue::FC_Reference)); in resolveDIEReference() 2157 if (HighPcValue.isFormClass(DWARFFormValue::FC_Address)) { in shouldKeepSubprogramDIE() 2160 assert(HighPcValue.isFormClass(DWARFFormValue::FC_Constant)); in shouldKeepSubprogramDIE() 2229 if (!Val.isFormClass(DWARFFormValue::FC_Reference)) { in keepDIEAndDependencies() 2701 !DWARFFormValue(AttrSpec.Form).isFormClass(DWARFFormValue::FC_Block); in shouldSkipAttribute()
|