Lines Matching refs:Prologue
71 DWARFDebugLine::Prologue::Prologue() { clear(); } in Prologue() function in DWARFDebugLine::Prologue
73 bool DWARFDebugLine::Prologue::hasFileAtIndex(uint64_t FileIndex) const { in hasFileAtIndex()
82 Optional<uint64_t> DWARFDebugLine::Prologue::getLastValidFileIndex() const { in getLastValidFileIndex()
95 DWARFDebugLine::Prologue::getFileNameEntry(uint64_t Index) const { in getFileNameEntry()
105 void DWARFDebugLine::Prologue::clear() { in clear()
117 void DWARFDebugLine::Prologue::dump(raw_ostream &OS, in dump()
351 uint64_t DWARFDebugLine::Prologue::getLength() const { in getLength()
359 Error DWARFDebugLine::Prologue::parse( in parse()
518 Prologue.dump(OS, DumpOptions); in dump()
534 Prologue.clear(); in clear()
547 Row.reset(LineTable->Prologue.DefaultIsStmt); in resetRowAndSequence()
610 StringRef OpcodeName = getOpcodeName(Opcode, LineTable->Prologue.OpcodeBase); in advanceAddr()
614 if (ReportAdvanceAddrProblem && LineTable->Prologue.getVersion() >= 4 && in advanceAddr()
615 LineTable->Prologue.MaxOpsPerInst != 1) in advanceAddr()
623 LineTable->Prologue.MaxOpsPerInst)); in advanceAddr()
624 if (ReportAdvanceAddrProblem && LineTable->Prologue.MinInstLength == 0) in advanceAddr()
633 uint64_t AddrOffset = OperationAdvance * LineTable->Prologue.MinInstLength; in advanceAddr()
642 Opcode >= LineTable->Prologue.OpcodeBase); in advanceAddrForOpcode()
643 if (ReportBadLineRange && LineTable->Prologue.LineRange == 0) { in advanceAddrForOpcode()
645 getOpcodeName(Opcode, LineTable->Prologue.OpcodeBase); in advanceAddrForOpcode()
659 uint8_t AdjustedOpcode = OpcodeValue - LineTable->Prologue.OpcodeBase; in advanceAddrForOpcode()
661 LineTable->Prologue.LineRange != 0 in advanceAddrForOpcode()
662 ? AdjustedOpcode / LineTable->Prologue.LineRange in advanceAddrForOpcode()
705 if (LineTable->Prologue.LineRange != 0) in handleSpecialOpcode()
707 LineTable->Prologue.LineBase + in handleSpecialOpcode()
708 (AddrAdvanceResult.AdjustedOpcode % LineTable->Prologue.LineRange); in handleSpecialOpcode()
735 Prologue.parse(DebugLineData, OffsetPtr, RecoverableErrorHandler, Ctx, U); in parse()
740 Prologue.dump(*OS, DumpOptions); in parse()
751 uint64_t ProgramLength = Prologue.TotalLength + Prologue.sizeofTotalLength(); in parse()
774 TableData.setAddressSize(Prologue.getAddressSize()); in parse()
776 assert(Prologue.getAddressSize() == 0 || in parse()
777 Prologue.getAddressSize() == TableData.getAddressSize()); in parse()
781 *OffsetPtr = DebugLineOffset + Prologue.getLength(); in parse()
937 Prologue.FileNames.push_back(FileEntry); in parse()
989 } else if (Opcode < Prologue.OpcodeBase) { in parse()
1128 assert(Opcode - 1U < Prologue.StandardOpcodeLengths.size()); in parse()
1131 uint8_t OpcodeLength = Prologue.StandardOpcodeLengths[Opcode - 1]; in parse()
1331 if (Kind == FileLineInfoKind::None || !Prologue.hasFileAtIndex(FileIndex)) in getSourceByIndex()
1333 const FileNameEntry &Entry = Prologue.getFileNameEntry(FileIndex); in getSourceByIndex()
1347 bool DWARFDebugLine::Prologue::getFileNameByIndex( in getFileNameByIndex()
1440 bool DWARFDebugLine::Prologue::totalLengthIsValid() const { in totalLengthIsValid()
1456 moveToNextTable(OldOffset, LT.Prologue); in parseNext()
1468 if (Error Err = LT.Prologue.parse(DebugLineData, &Offset, in skip()
1471 moveToNextTable(OldOffset, LT.Prologue); in skip()
1484 const Prologue &P) { in moveToNextTable()