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 const uint8_t DataAddrSize = DebugLineData.getAddressSize(); in parse()
411 SegSelectorSize = DebugLineData.getU8(Cursor); in parse()
415 DebugLineData.getRelocatedValue(Cursor, sizeofPrologueLength()); in parse()
417 DebugLineData = DWARFDataExtractor(DebugLineData, EndPrologueOffset); in parse()
418 MinInstLength = DebugLineData.getU8(Cursor); in parse()
420 MaxOpsPerInst = DebugLineData.getU8(Cursor); in parse()
421 DefaultIsStmt = DebugLineData.getU8(Cursor); in parse()
422 LineBase = DebugLineData.getU8(Cursor); in parse()
423 LineRange = DebugLineData.getU8(Cursor); in parse()
424 OpcodeBase = DebugLineData.getU8(Cursor); in parse()
438 uint8_t OpLen = DebugLineData.getU8(Cursor); in parse()
455 ? parseV5DirFileTables(DebugLineData, OffsetPtr, FormParams, Ctx, U, in parse()
457 : parseV2DirFileTables(DebugLineData, OffsetPtr, ContentTypes, in parse()
604 DWARFDataExtractor &DebugLineData, uint64_t Offset, const DWARFContext &Ctx, in getOrParseLineTable() argument
606 if (!DebugLineData.isValidOffset(Offset)) in getOrParseLineTable()
616 LT->parse(DebugLineData, &Offset, Ctx, U, RecoverableErrorHandler)) in getOrParseLineTable()
790 DWARFDataExtractor &DebugLineData, uint64_t *OffsetPtr, in parse() argument
800 Prologue.parse(DebugLineData, OffsetPtr, RecoverableErrorHandler, Ctx, U); in parse()
817 if (!DebugLineData.isValidOffsetForDataOfSize(DebugLineOffset, in parse()
819 assert(DebugLineData.size() > DebugLineOffset && in parse()
821 uint64_t BytesRemaining = DebugLineData.size() - DebugLineOffset; in parse()
835 DWARFDataExtractor TableData(DebugLineData, EndOffset); in parse()
1532 : DebugLineData(Data), Context(C) { in SectionParser()
1534 if (!DebugLineData.isValidOffset(Offset)) in SectionParser()
1546 assert(DebugLineData.isValidOffset(Offset) && in parseNext()
1551 if (Error Err = LT.parse(DebugLineData, &Offset, Context, U, in parseNext()
1561 assert(DebugLineData.isValidOffset(Offset) && in skip()
1566 if (Error Err = LT.Prologue.parse(DebugLineData, &Offset, in skip()
1577 DebugLineData.setAddressSize(U ? U->getAddressByteSize() : 0); in prepareToParse()
1583 auto [TotalLength, _] = DebugLineData.getInitialLength(Cursor); in hasValidVersion()
1584 DWARFDataExtractor HeaderData(DebugLineData, Cursor.tell() + TotalLength); in hasValidVersion()
1607 if (!DebugLineData.isValidOffset(Offset)) { in moveToNextTable()
1622 if (!DebugLineData.isValidOffset(AlignedOffset)) { in moveToNextTable()