Lines Matching refs:DebugLineData
188 parseV2DirFileTables(const DWARFDataExtractor &DebugLineData, in parseV2DirFileTables() argument
195 StringRef S = DebugLineData.getCStrRef(OffsetPtr, &Err); in parseV2DirFileTables()
214 StringRef Name = DebugLineData.getCStrRef(OffsetPtr, &Err); in parseV2DirFileTables()
221 FileEntry.DirIdx = DebugLineData.getULEB128(OffsetPtr, &Err); in parseV2DirFileTables()
222 FileEntry.ModTime = DebugLineData.getULEB128(OffsetPtr, &Err); in parseV2DirFileTables()
223 FileEntry.Length = DebugLineData.getULEB128(OffsetPtr, &Err); in parseV2DirFileTables()
242 parseV5EntryFormat(const DWARFDataExtractor &DebugLineData, uint64_t *OffsetPtr, in parseV5EntryFormat() argument
246 int FormatCount = DebugLineData.getU8(OffsetPtr, &Err); in parseV5EntryFormat()
251 dwarf::LineNumberEntryFormat(DebugLineData.getULEB128(OffsetPtr, &Err)); in parseV5EntryFormat()
252 Descriptor.Form = dwarf::Form(DebugLineData.getULEB128(OffsetPtr, &Err)); in parseV5EntryFormat()
273 parseV5DirFileTables(const DWARFDataExtractor &DebugLineData, in parseV5DirFileTables() argument
281 parseV5EntryFormat(DebugLineData, OffsetPtr, nullptr); in parseV5DirFileTables()
286 uint64_t DirEntryCount = DebugLineData.getULEB128(OffsetPtr); in parseV5DirFileTables()
292 if (!Value.extractValue(DebugLineData, OffsetPtr, FormParams, &Ctx, U)) in parseV5DirFileTables()
299 if (!Value.skipValue(DebugLineData, OffsetPtr, FormParams)) in parseV5DirFileTables()
309 parseV5EntryFormat(DebugLineData, OffsetPtr, &ContentTypes); in parseV5DirFileTables()
314 uint64_t FileEntryCount = DebugLineData.getULEB128(OffsetPtr); in parseV5DirFileTables()
319 if (!Value.extractValue(DebugLineData, OffsetPtr, FormParams, &Ctx, U)) in parseV5DirFileTables()
365 DWARFDataExtractor DebugLineData, uint64_t *OffsetPtr, in parse() argument
373 DebugLineData.getInitialLength(Cursor); in parse()
375 DebugLineData = in parse()
376 DWARFDataExtractor(DebugLineData, Cursor.tell() + TotalLength); in parse()
377 FormParams.Version = DebugLineData.getU16(Cursor); in parse()
391 FormParams.AddrSize = DebugLineData.getU8(Cursor); in parse()
392 assert((!Cursor || DebugLineData.getAddressSize() == 0 || in parse()
393 DebugLineData.getAddressSize() == getAddressSize()) && in parse()
395 SegSelectorSize = DebugLineData.getU8(Cursor); in parse()
399 DebugLineData.getRelocatedValue(Cursor, sizeofPrologueLength()); in parse()
401 DebugLineData = DWARFDataExtractor(DebugLineData, EndPrologueOffset); in parse()
402 MinInstLength = DebugLineData.getU8(Cursor); in parse()
404 MaxOpsPerInst = DebugLineData.getU8(Cursor); in parse()
405 DefaultIsStmt = DebugLineData.getU8(Cursor); in parse()
406 LineBase = DebugLineData.getU8(Cursor); in parse()
407 LineRange = DebugLineData.getU8(Cursor); in parse()
408 OpcodeBase = DebugLineData.getU8(Cursor); in parse()
422 uint8_t OpLen = DebugLineData.getU8(Cursor); in parse()
439 ? parseV5DirFileTables(DebugLineData, OffsetPtr, FormParams, Ctx, U, in parse()
441 : parseV2DirFileTables(DebugLineData, OffsetPtr, ContentTypes, in parse()
588 DWARFDataExtractor &DebugLineData, uint64_t Offset, const DWARFContext &Ctx, in getOrParseLineTable() argument
590 if (!DebugLineData.isValidOffset(Offset)) in getOrParseLineTable()
600 LT->parse(DebugLineData, &Offset, Ctx, U, RecoverableErrorHandler)) in getOrParseLineTable()
774 DWARFDataExtractor &DebugLineData, uint64_t *OffsetPtr, in parse() argument
784 Prologue.parse(DebugLineData, OffsetPtr, RecoverableErrorHandler, Ctx, U); in parse()
801 if (!DebugLineData.isValidOffsetForDataOfSize(DebugLineOffset, in parse()
803 assert(DebugLineData.size() > DebugLineOffset && in parse()
805 uint64_t BytesRemaining = DebugLineData.size() - DebugLineOffset; in parse()
819 DWARFDataExtractor TableData(DebugLineData, EndOffset); in parse()
1516 : DebugLineData(Data), Context(C) { in SectionParser()
1518 if (!DebugLineData.isValidOffset(Offset)) in SectionParser()
1530 assert(DebugLineData.isValidOffset(Offset) && in parseNext()
1535 if (Error Err = LT.parse(DebugLineData, &Offset, Context, U, in parseNext()
1545 assert(DebugLineData.isValidOffset(Offset) && in skip()
1550 if (Error Err = LT.Prologue.parse(DebugLineData, &Offset, in skip()
1561 DebugLineData.setAddressSize(U ? U->getAddressByteSize() : 0); in prepareToParse()
1567 auto [TotalLength, _] = DebugLineData.getInitialLength(Cursor); in hasValidVersion()
1568 DWARFDataExtractor HeaderData(DebugLineData, Cursor.tell() + TotalLength); in hasValidVersion()
1591 if (!DebugLineData.isValidOffset(Offset)) { in moveToNextTable()
1606 if (!DebugLineData.isValidOffset(AlignedOffset)) { in moveToNextTable()