• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/

Lines Matching refs:DebugLineData

171 parseV2DirFileTables(const DWARFDataExtractor &DebugLineData,
178 StringRef S = DebugLineData.getCStrRef(OffsetPtr, &Err);
197 StringRef Name = DebugLineData.getCStrRef(OffsetPtr, &Err);
204 FileEntry.DirIdx = DebugLineData.getULEB128(OffsetPtr, &Err);
205 FileEntry.ModTime = DebugLineData.getULEB128(OffsetPtr, &Err);
206 FileEntry.Length = DebugLineData.getULEB128(OffsetPtr, &Err);
225 parseV5EntryFormat(const DWARFDataExtractor &DebugLineData, uint64_t *OffsetPtr,
229 int FormatCount = DebugLineData.getU8(OffsetPtr, &Err);
234 dwarf::LineNumberEntryFormat(DebugLineData.getULEB128(OffsetPtr, &Err));
235 Descriptor.Form = dwarf::Form(DebugLineData.getULEB128(OffsetPtr, &Err));
256 parseV5DirFileTables(const DWARFDataExtractor &DebugLineData,
264 parseV5EntryFormat(DebugLineData, OffsetPtr, nullptr);
269 uint64_t DirEntryCount = DebugLineData.getULEB128(OffsetPtr);
275 if (!Value.extractValue(DebugLineData, OffsetPtr, FormParams, &Ctx, U))
282 if (!Value.skipValue(DebugLineData, OffsetPtr, FormParams))
292 parseV5EntryFormat(DebugLineData, OffsetPtr, &ContentTypes);
297 uint64_t FileEntryCount = DebugLineData.getULEB128(OffsetPtr);
302 if (!Value.extractValue(DebugLineData, OffsetPtr, FormParams, &Ctx, U))
348 DWARFDataExtractor DebugLineData, uint64_t *OffsetPtr,
356 DebugLineData.getInitialLength(Cursor);
358 DebugLineData =
359 DWARFDataExtractor(DebugLineData, Cursor.tell() + TotalLength);
360 FormParams.Version = DebugLineData.getU16(Cursor);
374 FormParams.AddrSize = DebugLineData.getU8(Cursor);
375 assert((!Cursor || DebugLineData.getAddressSize() == 0 ||
376 DebugLineData.getAddressSize() == getAddressSize()) &&
378 SegSelectorSize = DebugLineData.getU8(Cursor);
382 DebugLineData.getRelocatedValue(Cursor, sizeofPrologueLength());
384 DebugLineData = DWARFDataExtractor(DebugLineData, EndPrologueOffset);
385 MinInstLength = DebugLineData.getU8(Cursor);
387 MaxOpsPerInst = DebugLineData.getU8(Cursor);
388 DefaultIsStmt = DebugLineData.getU8(Cursor);
389 LineBase = DebugLineData.getU8(Cursor);
390 LineRange = DebugLineData.getU8(Cursor);
391 OpcodeBase = DebugLineData.getU8(Cursor);
405 uint8_t OpLen = DebugLineData.getU8(Cursor);
422 ? parseV5DirFileTables(DebugLineData, OffsetPtr, FormParams, Ctx, U,
424 : parseV2DirFileTables(DebugLineData, OffsetPtr, ContentTypes,
569 DWARFDataExtractor &DebugLineData, uint64_t Offset, const DWARFContext &Ctx,
571 if (!DebugLineData.isValidOffset(Offset))
581 LT->parse(DebugLineData, &Offset, Ctx, U, RecoverableErrorHandler))
713 DWARFDataExtractor &DebugLineData, uint64_t *OffsetPtr,
723 Prologue.parse(DebugLineData, OffsetPtr, RecoverableErrorHandler, Ctx, U);
740 if (!DebugLineData.isValidOffsetForDataOfSize(DebugLineOffset,
742 assert(DebugLineData.size() > DebugLineOffset &&
744 uint64_t BytesRemaining = DebugLineData.size() - DebugLineOffset;
758 DWARFDataExtractor TableData(DebugLineData, EndOffset);
1426 : DebugLineData(Data), Context(C) {
1428 if (!DebugLineData.isValidOffset(Offset))
1440 assert(DebugLineData.isValidOffset(Offset) &&
1445 if (Error Err = LT.parse(DebugLineData, &Offset, Context, U,
1455 assert(DebugLineData.isValidOffset(Offset) &&
1460 if (Error Err = LT.Prologue.parse(DebugLineData, &Offset,
1471 DebugLineData.setAddressSize(U ? U->getAddressByteSize() : 0);
1486 if (!DebugLineData.isValidOffset(Offset)) {