Home
last modified time | relevance | path

Searched refs:DWARFFormValue (Results 1 – 10 of 10) sorted by relevance

/external/llvm/unittests/DebugInfo/DWARF/
DDWARFFormValueTest.cpp22 TEST(DWARFFormValue, FixedFormSizes) { in TEST() argument
25 ArrayRef<uint8_t> sizes = DWARFFormValue::getFixedFormSizes(4, 2); in TEST()
27 sizes = DWARFFormValue::getFixedFormSizes(8, 2); in TEST()
29 sizes = DWARFFormValue::getFixedFormSizes(8, 3); in TEST()
32 EXPECT_EQ(0U, DWARFFormValue::getFixedFormSizes(16, 2).size()); in TEST()
35 bool isFormClass(uint16_t Form, DWARFFormValue::FormClass FC) { in isFormClass()
36 return DWARFFormValue(Form).isFormClass(FC); in isFormClass()
39 TEST(DWARFFormValue, FormClass) { in TEST() argument
40 EXPECT_TRUE(isFormClass(DW_FORM_addr, DWARFFormValue::FC_Address)); in TEST()
41 EXPECT_FALSE(isFormClass(DW_FORM_data8, DWARFFormValue::FC_Address)); in TEST()
[all …]
/external/llvm/lib/DebugInfo/DWARF/
DDWARFFormValue.cpp66 ArrayRef<uint8_t> DWARFFormValue::getFixedFormSizes(uint8_t AddrSize, in getFixedFormSizes()
80 static const DWARFFormValue::FormClass DWARF4FormClasses[] = {
81 DWARFFormValue::FC_Unknown, // 0x0
82 DWARFFormValue::FC_Address, // 0x01 DW_FORM_addr
83 DWARFFormValue::FC_Unknown, // 0x02 unused
84 DWARFFormValue::FC_Block, // 0x03 DW_FORM_block2
85 DWARFFormValue::FC_Block, // 0x04 DW_FORM_block4
86 DWARFFormValue::FC_Constant, // 0x05 DW_FORM_data2
88 DWARFFormValue::FC_Constant, // 0x06 DW_FORM_data4
89 DWARFFormValue::FC_Constant, // 0x07 DW_FORM_data8
[all …]
DDWARFDebugInfoEntry.cpp131 DWARFFormValue formValue(form); in dumpAttribute()
203 ArrayRef<uint8_t> FixedFormSizes = DWARFFormValue::getFixedFormSizes( in extractFast()
215 else if (!DWARFFormValue::skipValue(Form, DebugInfoData, OffsetPtr, U)) { in extractFast()
235 const DWARFUnit *U, const uint16_t Attr, DWARFFormValue &FormValue) const { in getAttributeValue()
251 DWARFFormValue::skipValue(AbbrevDecl->getFormByIndex(i), in getAttributeValue()
255 FormValue = DWARFFormValue(AbbrevDecl->getFormByIndex(AttrIdx)); in getAttributeValue()
261 DWARFFormValue FormValue; in getAttributeValueAsString()
270 DWARFFormValue FormValue; in getAttributeValueAsAddress()
279 DWARFFormValue FormValue; in getAttributeValueAsUnsignedConstant()
288 DWARFFormValue FormValue; in getAttributeValueAsReference()
[all …]
DDWARFAcceleratorTable.cpp61 SmallVector<DWARFFormValue, 3> AtomForms; in dump()
74 AtomForms.push_back(DWARFFormValue(Atom.second)); in dump()
DCMakeLists.txt15 DWARFFormValue.cpp
DAndroid.mk17 DWARFFormValue.cpp \
/external/llvm/include/llvm/DebugInfo/DWARF/
DDWARFFormValue.h22 class DWARFFormValue {
55 DWARFFormValue(uint16_t Form = 0) : Form(Form) {} in Form()
DDWARFDebugInfoEntry.h25 class DWARFFormValue; variable
90 DWARFFormValue &FormValue) const;
/external/llvm/tools/dsymutil/
DDwarfLinker.cpp1320 CompileUnit &U, const DWARFFormValue &Val,
1328 const DWARFFormValue &Val,
1338 const DWARFFormValue &Val, CompileUnit &Unit);
1344 const DWARFFormValue &Val, unsigned AttrSize);
1350 const DWARFFormValue &Val,
1359 const DWARFFormValue &Val, unsigned AttrSize,
1481 const DWARFFormValue &RefValue, const DWARFUnit &Unit, in resolveDIEReference()
1483 assert(RefValue.isFormClass(DWARFFormValue::FC_Reference)); in resolveDIEReference()
2011 DWARFFormValue::skipValue(Abbrev->getFormByIndex(i), Data, &Offset, &Unit); in getAttributeOffsets()
2014 DWARFFormValue::skipValue(Abbrev->getFormByIndex(Idx), Data, &End, &Unit); in getAttributeOffsets()
[all …]
/external/llvm/tools/llvm-dwp/
Dllvm-dwp.cpp129 DWARFFormValue::skipValue(Form, InfoData, &Offset, Version, AddrSize); in getCUSignature()