Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/
DDWARFDebugInfoEntry.cpp23 DWARFDataExtractor DebugInfoData = U.getDebugInfoExtractor(); in extractFast() local
25 return extractFast(U, OffsetPtr, DebugInfoData, UEndOffset, 0); in extractFast()
29 const DWARFDataExtractor &DebugInfoData, in extractFast() argument
33 if (Offset >= UEndOffset || !DebugInfoData.isValidOffset(Offset)) in extractFast()
35 uint64_t AbbrCode = DebugInfoData.getULEB128(OffsetPtr); in extractFast()
60 } else if (!DWARFFormValue::skipValue(AttrSpec.Form, DebugInfoData, in extractFast()
DDWARFFormValue.cpp108 bool DWARFFormValue::skipValue(dwarf::Form Form, DataExtractor DebugInfoData, in skipValue() argument
118 uint64_t size = DebugInfoData.getULEB128(OffsetPtr); in skipValue()
123 uint8_t size = DebugInfoData.getU8(OffsetPtr); in skipValue()
128 uint16_t size = DebugInfoData.getU16(OffsetPtr); in skipValue()
133 uint32_t size = DebugInfoData.getU32(OffsetPtr); in skipValue()
140 DebugInfoData.getCStr(OffsetPtr); in skipValue()
180 DebugInfoData.getSLEB128(OffsetPtr); in skipValue()
191 DebugInfoData.getULEB128(OffsetPtr); in skipValue()
196 Form = static_cast<dwarf::Form>(DebugInfoData.getULEB128(OffsetPtr)); in skipValue()
DDWARFVerifier.cpp100 bool DWARFVerifier::verifyUnitHeader(const DWARFDataExtractor DebugInfoData, in verifyUnitHeader() argument
115 Length = DebugInfoData.getU32(Offset); in verifyUnitHeader()
117 Length = DebugInfoData.getU64(Offset); in verifyUnitHeader()
120 Version = DebugInfoData.getU16(Offset); in verifyUnitHeader()
123 UnitType = DebugInfoData.getU8(Offset); in verifyUnitHeader()
124 AddrSize = DebugInfoData.getU8(Offset); in verifyUnitHeader()
125 AbbrOffset = isUnitDWARF64 ? DebugInfoData.getU64(Offset) : DebugInfoData.getU32(Offset); in verifyUnitHeader()
129 AbbrOffset = isUnitDWARF64 ? DebugInfoData.getU64(Offset) : DebugInfoData.getU32(Offset); in verifyUnitHeader()
130 AddrSize = DebugInfoData.getU8(Offset); in verifyUnitHeader()
136 ValidLength = DebugInfoData.isValidOffset(OffsetStart + Length + 3); in verifyUnitHeader()
[all …]
DDWARFAbbreviationDeclaration.cpp157 auto DebugInfoData = U.getDebugInfoExtractor(); in getAttributeValue() local
171 if (FormValue.extractValue(DebugInfoData, &Offset, U.getFormParams(), &U)) in getAttributeValue()
178 DWARFFormValue::skipValue(Spec.Form, DebugInfoData, &Offset, in getAttributeValue()
DDWARFUnit.cpp391 DWARFDataExtractor DebugInfoData = getDebugInfoExtractor(); in extractDIEsToVector() local
395 while (DIE.extractFast(*this, &DIEOffset, DebugInfoData, NextCUOffset, in extractDIEsToVector()
/external/llvm-project/llvm/lib/DebugInfo/DWARF/
DDWARFDebugInfoEntry.cpp23 DWARFDataExtractor DebugInfoData = U.getDebugInfoExtractor(); in extractFast() local
25 return extractFast(U, OffsetPtr, DebugInfoData, UEndOffset, 0); in extractFast()
29 const DWARFDataExtractor &DebugInfoData, in extractFast() argument
33 if (Offset >= UEndOffset || !DebugInfoData.isValidOffset(Offset)) in extractFast()
35 uint64_t AbbrCode = DebugInfoData.getULEB128(OffsetPtr); in extractFast()
61 } else if (!DWARFFormValue::skipValue(AttrSpec.Form, DebugInfoData, in extractFast()
DDWARFFormValue.cpp108 bool DWARFFormValue::skipValue(dwarf::Form Form, DataExtractor DebugInfoData, in skipValue() argument
118 uint64_t size = DebugInfoData.getULEB128(OffsetPtr); in skipValue()
123 uint8_t size = DebugInfoData.getU8(OffsetPtr); in skipValue()
128 uint16_t size = DebugInfoData.getU16(OffsetPtr); in skipValue()
133 uint32_t size = DebugInfoData.getU32(OffsetPtr); in skipValue()
140 DebugInfoData.getCStr(OffsetPtr); in skipValue()
180 DebugInfoData.getSLEB128(OffsetPtr); in skipValue()
191 DebugInfoData.getULEB128(OffsetPtr); in skipValue()
196 Form = static_cast<dwarf::Form>(DebugInfoData.getULEB128(OffsetPtr)); in skipValue()
DDWARFAbbreviationDeclaration.cpp159 auto DebugInfoData = U.getDebugInfoExtractor(); in getAttributeValue() local
169 DWARFFormValue::skipValue(AttributeSpecs[CurAttrIdx].Form, DebugInfoData, in getAttributeValue()
179 if (FormValue.extractValue(DebugInfoData, &Offset, U.getFormParams(), &U)) in getAttributeValue()
DDWARFVerifier.cpp102 bool DWARFVerifier::verifyUnitHeader(const DWARFDataExtractor DebugInfoData, in verifyUnitHeader() argument
118 std::tie(Length, Format) = DebugInfoData.getInitialLength(Offset); in verifyUnitHeader()
120 Version = DebugInfoData.getU16(Offset); in verifyUnitHeader()
123 UnitType = DebugInfoData.getU8(Offset); in verifyUnitHeader()
124 AddrSize = DebugInfoData.getU8(Offset); in verifyUnitHeader()
125 AbbrOffset = isUnitDWARF64 ? DebugInfoData.getU64(Offset) : DebugInfoData.getU32(Offset); in verifyUnitHeader()
129 AbbrOffset = isUnitDWARF64 ? DebugInfoData.getU64(Offset) : DebugInfoData.getU32(Offset); in verifyUnitHeader()
130 AddrSize = DebugInfoData.getU8(Offset); in verifyUnitHeader()
136 ValidLength = DebugInfoData.isValidOffset(OffsetStart + Length + 3); in verifyUnitHeader()
293 DWARFDataExtractor DebugInfoData(DObj, S, DCtx.isLittleEndian(), 0); in verifyUnitSection() local
[all …]
DDWARFUnit.cpp363 DWARFDataExtractor DebugInfoData = getDebugInfoExtractor(); in extractDIEsToVector() local
367 while (DIE.extractFast(*this, &DIEOffset, DebugInfoData, NextCUOffset, in extractDIEsToVector()
/external/llvm/lib/DebugInfo/DWARF/
DDWARFDebugInfoEntry.cpp187 DataExtractor DebugInfoData = U->getDebugInfoExtractor(); in extractFast() local
189 if (Offset >= UEndOffset || !DebugInfoData.isValidOffset(Offset)) in extractFast()
191 uint64_t AbbrCode = DebugInfoData.getULEB128(OffsetPtr); in extractFast()
215 else if (!DWARFFormValue::skipValue(Form, DebugInfoData, OffsetPtr, U)) { in extractFast()
243 DataExtractor DebugInfoData = U->getDebugInfoExtractor(); in getAttributeValue() local
247 DebugInfoData.getULEB128(&DebugInfoOffset); in getAttributeValue()
252 DebugInfoData, &DebugInfoOffset, U); in getAttributeValue()
256 return FormValue.extractValue(DebugInfoData, &DebugInfoOffset, U); in getAttributeValue()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/DWARF/
DDWARFFormValue.h131 bool skipValue(DataExtractor DebugInfoData, uint64_t *OffsetPtr, in skipValue() argument
133 return DWARFFormValue::skipValue(Form, DebugInfoData, OffsetPtr, Params); in skipValue()
146 static bool skipValue(dwarf::Form Form, DataExtractor DebugInfoData,
DDWARFDebugInfoEntry.h43 const DWARFDataExtractor &DebugInfoData, uint64_t UEndOffset,
DDWARFVerifier.h140 bool verifyUnitHeader(const DWARFDataExtractor DebugInfoData,
/external/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
DDWARFFormValue.h136 bool skipValue(DataExtractor DebugInfoData, uint64_t *OffsetPtr, in skipValue() argument
138 return DWARFFormValue::skipValue(Form, DebugInfoData, OffsetPtr, Params); in skipValue()
151 static bool skipValue(dwarf::Form Form, DataExtractor DebugInfoData,
DDWARFDebugInfoEntry.h43 const DWARFDataExtractor &DebugInfoData, uint64_t UEndOffset,
DDWARFVerifier.h140 bool verifyUnitHeader(const DWARFDataExtractor DebugInfoData,