Home
last modified time | relevance | path

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

/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFDebugInfoEntry.cpp23 const DWARFDataExtractor &DebugInfoData, in extractFast() argument
36 assert(DebugInfoData.isValidOffset(UEndOffset - 1)); in extractFast()
37 uint64_t AbbrCode = DebugInfoData.getULEB128(OffsetPtr); in extractFast()
81 } else if (!DWARFFormValue::skipValue(AttrSpec.Form, DebugInfoData, in extractFast()
H A DDWARFFormValue.cpp110 bool DWARFFormValue::skipValue(dwarf::Form Form, DataExtractor DebugInfoData, in skipValue() argument
120 uint64_t size = DebugInfoData.getULEB128(OffsetPtr); in skipValue()
125 uint8_t size = DebugInfoData.getU8(OffsetPtr); in skipValue()
130 uint16_t size = DebugInfoData.getU16(OffsetPtr); in skipValue()
135 uint32_t size = DebugInfoData.getU32(OffsetPtr); in skipValue()
142 DebugInfoData.getCStr(OffsetPtr); in skipValue()
185 DebugInfoData.getSLEB128(OffsetPtr); in skipValue()
196 DebugInfoData.getULEB128(OffsetPtr); in skipValue()
200 DebugInfoData.getULEB128(OffsetPtr); in skipValue()
206 Form = static_cast<dwarf::Form>(DebugInfoData in skipValue()
[all...]
H A DDWARFAbbreviationDeclaration.cpp172 DWARFDataExtractor DebugInfoData = U.getDebugInfoExtractor(); in getAttributeOffsetFromIndex() local
182 DWARFFormValue::skipValue(AttributeSpecs[CurAttrIdx].Form, DebugInfoData, in getAttributeOffsetFromIndex()
200 DWARFDataExtractor DebugInfoData = U.getDebugInfoExtractor(); in getAttributeValueFromOffset() local
201 if (FormValue.extractValue(DebugInfoData, &Offset, U.getFormParams(), &U)) in getAttributeValueFromOffset()
H A DDWARFVerifier.cpp134 bool DWARFVerifier::verifyUnitHeader(const DWARFDataExtractor DebugInfoData, in verifyUnitHeader()
150 std::tie(Length, Format) = DebugInfoData.getInitialLength(Offset); in verifyUnitHeader()
152 Version = DebugInfoData.getU16(Offset); in verifyUnitHeader()
155 UnitType = DebugInfoData.getU8(Offset); in verifyUnitHeader()
156 AddrSize = DebugInfoData.getU8(Offset); in verifyUnitHeader()
157 AbbrOffset = isUnitDWARF64 ? DebugInfoData.getU64(Offset) : DebugInfoData.getU32(Offset); in verifyUnitHeader()
161 AbbrOffset = isUnitDWARF64 ? DebugInfoData.getU64(Offset) : DebugInfoData.getU32(Offset); in verifyUnitHeader()
162 AddrSize = DebugInfoData in verifyUnitHeader()
125 verifyUnitHeader(const DWARFDataExtractor DebugInfoData,uint64_t * Offset,unsigned UnitIndex,uint8_t & UnitType,bool & isUnitDWARF64) verifyUnitHeader() argument
438 DWARFDataExtractor DebugInfoData(DObj, S, DCtx.isLittleEndian(), 0); verifyUnitSection() local
1896 DWARFDataExtractor DebugInfoData(DObj, S, DCtx.isLittleEndian(), 0); handleDebugStrOffsets() local
[all...]
H A DDWARFUnit.cpp416 DWARFDataExtractor DebugInfoData = getDebugInfoExtractor(); in extractDIEsToVector() local
418 assert(DebugInfoData.isValidOffset(NextCUOffset - 1)); in extractDIEsToVector()
440 if (!DIE.extractFast(*this, &DIEOffset, DebugInfoData, NextCUOffset, in extractDIEsToVector()
/llvm-project/llvm/unittests/DebugInfo/DWARF/
H A DDWARFDieManualExtractTest.cpp57 DWARFDataExtractor DebugInfoData = CU->getDebugInfoExtractor(); in TEST() local
58 ASSERT_TRUE(DieInfo.extractFast(*CU, &DIEOffset, DebugInfoData, NextCUOffset, in TEST()
/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFFormValue.h137 /// Skip a form's value in \p DebugInfoData at the offset specified by
142 /// \param DebugInfoData The data where we want to skip the value.
146 bool skipValue(DataExtractor DebugInfoData, uint64_t *OffsetPtr,
148 return DWARFFormValue::skipValue(Form, DebugInfoData, OffsetPtr, Params); in skipValue() argument
151 /// Skip a form's value in \p DebugInfoData at the offset specified by in skipValue()
157 /// \param DebugInfoData The data where we want to skip the value.
161 static bool skipValue(dwarf::Form Form, DataExtractor DebugInfoData,
H A DDWARFDebugInfoEntry.h42 const DWARFDataExtractor &DebugInfoData, uint64_t UEndOffset,
H A DDWARFVerifier.h136 /// \param DebugInfoData The section data
145 bool verifyUnitHeader(const DWARFDataExtractor DebugInfoData,
/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVDWARFReader.cpp532 DWARFDataExtractor DebugInfoData = in processOneDie()
545 if (DebugInfoData.isValidOffset(Offset)) { in processOneDie()
612 ProcessAttributes(DIE, DebugInfoData); in processOneDie()
617 DWARFDataExtractor DebugInfoData = in processOneDie()
620 if (DebugInfoData.isValidOffset(Offset)) in processOneDie()
621 ProcessAttributes(InputDIE, DebugInfoData); in processOneDie()
526 DWARFDataExtractor DebugInfoData = processOneDie() local
611 DWARFDataExtractor DebugInfoData = processOneDie() local