Lines Matching refs:LineTable

514 DWARFDebugLine::LineTable::LineTable() { clear(); }  in LineTable()  function in DWARFDebugLine::LineTable
516 void DWARFDebugLine::LineTable::dump(raw_ostream &OS, in dump()
533 void DWARFDebugLine::LineTable::clear() { in clear()
540 struct LineTable *LT, uint64_t TableOffset, in ParsingState()
542 : LineTable(LT), LineTableOffset(TableOffset), ErrorHandler(ErrorHandler) { in ParsingState()
547 Row.reset(LineTable->Prologue.DefaultIsStmt); in resetRowAndSequence()
552 unsigned RowNumber = LineTable->Rows.size(); in appendRowToMatrix()
559 LineTable->appendRow(Row); in appendRowToMatrix()
566 LineTable->appendSequence(Sequence); in appendRowToMatrix()
572 const DWARFDebugLine::LineTable *
580 Expected<const DWARFDebugLine::LineTable *> DWARFDebugLine::getOrParseLineTable( in getOrParseLineTable()
589 LineTableMap.insert(LineTableMapTy::value_type(Offset, LineTable())); in getOrParseLineTable()
590 LineTable *LT = &Pos.first->second; in getOrParseLineTable()
614 StringRef OpcodeName = getOpcodeName(Opcode, LineTable->Prologue.OpcodeBase); in advanceAddr()
618 if (ReportAdvanceAddrProblem && LineTable->Prologue.getVersion() >= 4 && in advanceAddr()
619 LineTable->Prologue.MaxOpsPerInst != 1) in advanceAddr()
627 LineTable->Prologue.MaxOpsPerInst)); in advanceAddr()
628 if (ReportAdvanceAddrProblem && LineTable->Prologue.MinInstLength == 0) in advanceAddr()
637 uint64_t AddrOffset = OperationAdvance * LineTable->Prologue.MinInstLength; in advanceAddr()
646 Opcode >= LineTable->Prologue.OpcodeBase); in advanceAddrForOpcode()
647 if (ReportBadLineRange && LineTable->Prologue.LineRange == 0) { in advanceAddrForOpcode()
649 getOpcodeName(Opcode, LineTable->Prologue.OpcodeBase); in advanceAddrForOpcode()
663 uint8_t AdjustedOpcode = OpcodeValue - LineTable->Prologue.OpcodeBase; in advanceAddrForOpcode()
665 LineTable->Prologue.LineRange != 0 in advanceAddrForOpcode()
666 ? AdjustedOpcode / LineTable->Prologue.LineRange in advanceAddrForOpcode()
709 if (LineTable->Prologue.LineRange != 0) in handleSpecialOpcode()
711 LineTable->Prologue.LineBase + in handleSpecialOpcode()
712 (AddrAdvanceResult.AdjustedOpcode % LineTable->Prologue.LineRange); in handleSpecialOpcode()
728 Error DWARFDebugLine::LineTable::parse( in parse()
1217 uint32_t DWARFDebugLine::LineTable::findRowInSeq( in findRowInSeq()
1241 uint32_t DWARFDebugLine::LineTable::lookupAddress( in lookupAddress()
1256 uint32_t DWARFDebugLine::LineTable::lookupAddressImpl( in lookupAddressImpl()
1269 bool DWARFDebugLine::LineTable::lookupAddressRange( in lookupAddressRange()
1285 bool DWARFDebugLine::LineTable::lookupAddressRangeImpl( in lookupAddressRangeImpl()
1333 Optional<StringRef> DWARFDebugLine::LineTable::getSourceByIndex(uint64_t FileIndex, in getSourceByIndex()
1404 bool DWARFDebugLine::LineTable::getFileLineInfoForAddress( in getFileLineInfoForAddress()
1449 DWARFDebugLine::LineTable DWARFDebugLine::SectionParser::parseNext( in parseNext()
1457 LineTable LT; in parseNext()
1472 LineTable LT; in skip()