Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/DebugInfo/DWARF/
H A DDWARFDebugInfoEntry.cpp24 const DWARFDataExtractor &DebugInfoData, in extractFast() argument
37 assert(DebugInfoData.isValidOffset(UEndOffset - 1)); in extractFast()
38 uint64_t AbbrCode = DebugInfoData.getULEB128(OffsetPtr); in extractFast()
81 } else if (!DWARFFormValue::skipValue(AttrSpec.Form, DebugInfoData, in extractFast()
H A DDWARFAbbreviationDeclaration.cpp152 DWARFDataExtractor DebugInfoData = U.getDebugInfoExtractor(); in getAttributeOffsetFromIndex() local
162 DWARFFormValue::skipValue(AttributeSpecs[CurAttrIdx].Form, DebugInfoData, in getAttributeOffsetFromIndex()
180 DWARFDataExtractor DebugInfoData = U.getDebugInfoExtractor(); in getAttributeValueFromOffset() local
181 if (FormValue.extractValue(DebugInfoData, &Offset, U.getFormParams(), &U)) in getAttributeValueFromOffset()
H A DDWARFFormValue.cpp111 bool DWARFFormValue::skipValue(dwarf::Form Form, DataExtractor DebugInfoData, in skipValue() argument
121 uint64_t size = DebugInfoData.getULEB128(OffsetPtr); in skipValue()
126 uint8_t size = DebugInfoData.getU8(OffsetPtr); in skipValue()
131 uint16_t size = DebugInfoData.getU16(OffsetPtr); in skipValue()
136 uint32_t size = DebugInfoData.getU32(OffsetPtr); in skipValue()
143 DebugInfoData.getCStr(OffsetPtr); in skipValue()
184 DebugInfoData.getSLEB128(OffsetPtr); in skipValue()
195 DebugInfoData.getULEB128(OffsetPtr); in skipValue()
199 DebugInfoData.getULEB128(OffsetPtr); in skipValue()
205 Form = static_cast<dwarf::Form>(DebugInfoData.getULEB128(OffsetPtr)); in skipValue()
H A DDWARFVerifier.cpp138 std::tie(Length, Format) = DebugInfoData.getInitialLength(Offset); in verifyUnitHeader()
140 Version = DebugInfoData.getU16(Offset); in verifyUnitHeader()
143 UnitType = DebugInfoData.getU8(Offset); in verifyUnitHeader()
144 AddrSize = DebugInfoData.getU8(Offset); in verifyUnitHeader()
145 AbbrOffset = isUnitDWARF64 ? DebugInfoData.getU64(Offset) : DebugInfoData.getU32(Offset); in verifyUnitHeader()
149 AbbrOffset = isUnitDWARF64 ? DebugInfoData.getU64(Offset) : DebugInfoData.getU32(Offset); in verifyUnitHeader()
150 AddrSize = DebugInfoData.getU8(Offset); in verifyUnitHeader()
156 ValidLength = DebugInfoData.isValidOffset(OffsetStart + Length + 3); in verifyUnitHeader()
373 bool hasDIE = DebugInfoData.isValidOffset(Offset); in verifyUnitSection()
381 if (!verifyUnitHeader(DebugInfoData, &Offset, UnitIdx, UnitType, in verifyUnitSection()
[all …]
H A DDWARFUnit.cpp404 DWARFDataExtractor DebugInfoData = getDebugInfoExtractor(); in extractDIEsToVector() local
406 assert(DebugInfoData.isValidOffset(NextCUOffset - 1)); in extractDIEsToVector()
428 if (!DIE.extractFast(*this, &DIEOffset, DebugInfoData, NextCUOffset, in extractDIEsToVector()
/llvm-project-15.0.7/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-15.0.7/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFFormValue.h147 bool skipValue(DataExtractor DebugInfoData, uint64_t *OffsetPtr, in skipValue() argument
149 return DWARFFormValue::skipValue(Form, DebugInfoData, OffsetPtr, Params); in skipValue()
162 static bool skipValue(dwarf::Form Form, DataExtractor DebugInfoData,
H A DDWARFDebugInfoEntry.h42 const DWARFDataExtractor &DebugInfoData, uint64_t UEndOffset,
H A DDWARFVerifier.h127 bool verifyUnitHeader(const DWARFDataExtractor DebugInfoData,
/llvm-project-15.0.7/bolt/lib/Core/
H A DDebugData.cpp64 DWARFDataExtractor DebugInfoData = U.getDebugInfoExtractor(); in findAttributeInfo() local
66 DWARFFormValue::skipValue(Value->getForm(), DebugInfoData, &NewOffset, in findAttributeInfo()
/llvm-project-15.0.7/bolt/lib/Rewrite/
H A DDWARFRewriter.cpp367 DWARFDataExtractor DebugInfoData = Unit.getDebugInfoExtractor(); in updateUnitDebugInfo() local
376 Die.extractFast(Unit, &DIEOffset, DebugInfoData, NextCUOffset, Depth)) { in updateUnitDebugInfo()