Home
last modified time | relevance | path

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

/external/llvm/unittests/DebugInfo/DWARF/
DDWARFFormValueTest.cpp23 TEST(DWARFFormValue, FixedFormSizes) { in TEST() argument
26 ArrayRef<uint8_t> sizes = DWARFFormValue::getFixedFormSizes(4, 2); in TEST()
28 sizes = DWARFFormValue::getFixedFormSizes(8, 2); in TEST()
30 sizes = DWARFFormValue::getFixedFormSizes(8, 3); in TEST()
33 EXPECT_EQ(0U, DWARFFormValue::getFixedFormSizes(16, 2).size()); in TEST()
36 bool isFormClass(uint16_t Form, DWARFFormValue::FormClass FC) { in isFormClass()
37 return DWARFFormValue(Form).isFormClass(FC); in isFormClass()
40 TEST(DWARFFormValue, FormClass) { in TEST() argument
41 EXPECT_TRUE(isFormClass(DW_FORM_addr, DWARFFormValue::FC_Address)); in TEST()
42 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
/external/swiftshader/third_party/LLVM/lib/DebugInfo/
DDWARFFormValue.cpp73 DWARFFormValue::getFixedFormSizesForAddressSize(uint8_t addr_size) { in getFixedFormSizesForAddressSize()
82 DWARFFormValue::extractValue(DataExtractor data, uint32_t *offset_ptr, in extractValue()
168 DWARFFormValue::skipValue(DataExtractor debug_info_data, uint32_t* offset_ptr, in skipValue()
170 return DWARFFormValue::skipValue(Form, debug_info_data, offset_ptr, cu); in skipValue()
174 DWARFFormValue::skipValue(uint16_t form, DataExtractor debug_info_data, in skipValue()
260 DWARFFormValue::dump(raw_ostream &OS, const DWARFCompileUnit *cu) const { in dump()
355 DWARFFormValue::getAsCString(const DataExtractor *debug_str_data_ptr) const { in getAsCString()
365 uint64_t DWARFFormValue::getReference(const DWARFCompileUnit *cu) const { in getReference()
383 DWARFFormValue::resolveCompileUnitReferences(const DWARFCompileUnit *cu) { in resolveCompileUnitReferences()
399 const uint8_t *DWARFFormValue::BlockData() const { in BlockData()
[all …]
DDWARFDebugInfoEntry.cpp86 DWARFFormValue formValue(form); in dumpAttribute()
240 DWARFFormValue form_value(form); in extract()
344 DWARFFormValue &form_value, in getAttributeValue()
360 DWARFFormValue::skipValue(AbbrevDecl->getFormByIndex(idx++), in getAttributeValue()
364 form_value = DWARFFormValue(AbbrevDecl->getFormByIndex(idx)); in getAttributeValue()
381 DWARFFormValue form_value; in getAttributeValueAsString()
395 DWARFFormValue form_value; in getAttributeValueAsUnsigned()
406 DWARFFormValue form_value; in getAttributeValueAsSigned()
417 DWARFFormValue form_value; in getAttributeValueAsReference()
DDWARFFormValue.h20 class DWARFFormValue {
48 DWARFFormValue(uint16_t form = 0) : Form(form) {} in Form()
DDWARFDebugInfoEntry.h21 class DWARFFormValue; variable
110 const uint16_t attr, DWARFFormValue &formValue,
DDWARFCompileUnit.cpp153 DWARFFormValue::getFixedFormSizesForAddressSize(getAddressByteSize()); in extractDIEsIfNeeded()
/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.cpp1322 CompileUnit &U, const DWARFFormValue &Val,
1330 const DWARFFormValue &Val,
1340 const DWARFFormValue &Val, CompileUnit &Unit);
1346 const DWARFFormValue &Val, unsigned AttrSize);
1352 const DWARFFormValue &Val,
1361 const DWARFFormValue &Val, unsigned AttrSize,
1486 const DWARFFormValue &RefValue, const DWARFUnit &Unit, in resolveDIEReference()
1488 assert(RefValue.isFormClass(DWARFFormValue::FC_Reference)); in resolveDIEReference()
2068 DWARFFormValue::skipValue(Abbrev->getFormByIndex(i), Data, &Offset, &Unit); in getAttributeOffsets()
2071 DWARFFormValue::skipValue(Abbrev->getFormByIndex(Idx), Data, &End, &Unit); in getAttributeOffsets()
[all …]
/external/llvm/tools/llvm-dwp/
Dllvm-dwp.cpp177 DWARFFormValue::skipValue(Form, InfoData, &Offset, Version, AddrSize); in getCUIdentifiers()