Home
last modified time | relevance | path

Searched refs:LineTable (Results 1 – 25 of 35) sorted by relevance

12

/freebsd-12.1/contrib/llvm/tools/lldb/source/Symbol/
H A DLineTable.cpp24 LineTable::LineTable(CompileUnit *comp_unit) in LineTable() function in LineTable
30 LineTable::~LineTable() {} in ~LineTable()
60 LineSequence *LineTable::CreateLineSequenceContainer() { in CreateLineSequenceContainer()
61 return new LineTable::LineSequenceImpl(); in CreateLineSequenceContainer()
64 void LineTable::AppendLineEntryToSequence( in AppendLineEntryToSequence()
142 LineTable *line_table) in LessThanBinaryPredicate()
145 bool LineTable::Entry::LessThanBinaryPredicate::
146 operator()(const LineTable::Entry &a, const LineTable::Entry &b) const { in operator ()()
279 uint32_t LineTable::FindLineEntryIndexByFileIndex( in FindLineEntryIndexByFileIndex()
447 LineTable *LineTable::LinkLineTable(const FileRangeMap &file_range_map) { in LinkLineTable()
[all …]
H A DCompileUnit.cpp192 LineTable *CompileUnit::GetLineTable() { in GetLineTable()
204 void CompileUnit::SetLineTable(LineTable *line_table) { in SetLineTable()
265 LineTable *line_table = GetLineTable(); in FindLineEntry()
307 LineTable *line_table = sc.comp_unit->GetLineTable(); in ResolveSymbolContext()
H A DFunction.cpp216 LineTable *line_table = m_comp_unit->GetLineTable(); in GetStartLineSourceInfo()
239 LineTable *line_table = m_comp_unit->GetLineTable(); in GetEndLineSourceInfo()
487 LineTable *line_table = m_comp_unit->GetLineTable(); in GetPrologueByteSize()
/freebsd-12.1/contrib/llvm/lib/ObjectYAML/
H A DDWARFYAML.cpp149 void MappingTraits<DWARFYAML::LineTable>::mapping( in mapping()
150 IO &IO, DWARFYAML::LineTable &LineTable) { in mapping() argument
151 IO.mapRequired("Length", LineTable.Length); in mapping()
152 IO.mapRequired("Version", LineTable.Version); in mapping()
155 if(LineTable.Version >= 4) in mapping()
158 IO.mapRequired("LineBase", LineTable.LineBase); in mapping()
159 IO.mapRequired("LineRange", LineTable.LineRange); in mapping()
160 IO.mapRequired("OpcodeBase", LineTable.OpcodeBase); in mapping()
162 IO.mapRequired("IncludeDirs", LineTable.IncludeDirs); in mapping()
163 IO.mapRequired("Files", LineTable.Files); in mapping()
[all …]
H A DDWARFEmitter.cpp214 for (const auto &LineTable : DI.DebugLines) { in EmitDebugLine() local
215 writeInitialLength(LineTable.Length, OS, DI.IsLittleEndian); in EmitDebugLine()
217 writeInteger((uint16_t)LineTable.Version, OS, DI.IsLittleEndian); in EmitDebugLine()
221 if (LineTable.Version >= 4) in EmitDebugLine()
224 writeInteger((uint8_t)LineTable.LineBase, OS, DI.IsLittleEndian); in EmitDebugLine()
225 writeInteger((uint8_t)LineTable.LineRange, OS, DI.IsLittleEndian); in EmitDebugLine()
228 for (auto OpcodeLength : LineTable.StandardOpcodeLengths) in EmitDebugLine()
231 for (auto IncludeDir : LineTable.IncludeDirs) { in EmitDebugLine()
237 for (auto File : LineTable.Files) in EmitDebugLine()
241 for (auto Op : LineTable.Opcodes) { in EmitDebugLine()
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Symbol/
H A DLineTable.h43 class LineTable {
51 LineTable(CompileUnit *comp_unit);
56 ~LineTable();
236 LineTable *LinkLineTable(const FileRangeMap &file_range_map);
296 LessThanBinaryPredicate(LineTable *line_table);
297 bool operator()(const LineTable::Entry &, const LineTable::Entry &) const;
300 LineTable *m_line_table;
337 LineTable *line_table;
375 DISALLOW_COPY_AND_ASSIGN(LineTable);
H A DCompileUnit.h246 LineTable *GetLineTable();
333 void SetLineTable(LineTable *line_table);
432 std::unique_ptr<LineTable>
/freebsd-12.1/contrib/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFDebugLine.h213 struct LineTable { struct
214 LineTable();
273 const LineTable *getLineTable(uint32_t Offset) const; argument
274 Expected<const LineTable *> getOrParseLineTable(
298 LineTable
334 ParsingState(struct LineTable *LT);
340 struct LineTable *LineTable; member
348 using LineTableMapTy = std::map<uint32_t, LineTable>;
H A DDWARFContext.h296 const DWARFDebugLine::LineTable *getLineTableForUnit(DWARFUnit *U);
300 Expected<const DWARFDebugLine::LineTable *>
/freebsd-12.1/contrib/llvm/lib/DebugInfo/DWARF/
H A DDWARFDebugLine.cpp395 DWARFDebugLine::LineTable::LineTable() { clear(); } in LineTable() function in DWARFDebugLine::LineTable
410 void DWARFDebugLine::LineTable::clear() { in clear()
417 : LineTable(LT) { in ParsingState()
422 Row.reset(LineTable->Prologue.DefaultIsStmt); in resetRowAndSequence()
434 LineTable->appendRow(Row); in appendRowToMatrix()
440 LineTable->appendSequence(Sequence); in appendRowToMatrix()
446 const DWARFDebugLine::LineTable *
464 LineTable *LT = &Pos.first->second; in getOrParseLineTable()
474 Error DWARFDebugLine::LineTable::parse( in parse()
1071 LineTable LT; in parseNext()
[all …]
H A DDWARFContext.cpp64 using DWARFLineTable = DWARFDebugLine::LineTable;
439 DWARFDebugLine::LineTable LineTable = in dump() local
441 LineTable.dump(OS, DumpOpts); in dump()
836 const DWARFDebugLine::LineTable *
1011 const DWARFLineTable *LineTable = getLineTableForUnit(CU); in getLineInfoForAddressRange() local
1043 const DWARFLineTable *LineTable = nullptr; in getInliningInfoForAddress() local
1051 LineTable = getLineTableForUnit(CU); in getInliningInfoForAddress()
1052 if (LineTable && in getInliningInfoForAddress()
1073 LineTable = getLineTableForUnit(CU); in getInliningInfoForAddress()
1075 if (LineTable) in getInliningInfoForAddress()
[all …]
H A DDWARFVerifier.cpp692 auto LineTable = DCtx.getLineTableForUnit(CU.get()); in verifyDebugLineStmtOffsets() local
694 if (!LineTable) { in verifyDebugLineStmtOffsets()
703 assert(LineTable == nullptr); in verifyDebugLineStmtOffsets()
727 auto LineTable = DCtx.getLineTableForUnit(CU.get()); in verifyDebugLineRows() local
730 if (!LineTable) in verifyDebugLineRows()
734 uint32_t MaxFileIndex = LineTable->Prologue.FileNames.size(); in verifyDebugLineRows()
735 uint32_t MaxDirIndex = LineTable->Prologue.IncludeDirectories.size(); in verifyDebugLineRows()
738 for (const auto &FileName : LineTable->Prologue.FileNames) { in verifyDebugLineRows()
752 const bool HasFullPath = LineTable->getFileNameByIndex( in verifyDebugLineRows()
774 for (const auto &Row : LineTable->Rows) { in verifyDebugLineRows()
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFDebugLine.h151 struct LineTable { struct
152 typedef std::shared_ptr<LineTable> shared_ptr; argument
154 LineTable() : prologue(), rows() {} in LineTable() function
231 lldb::offset_t *offset_ptr, LineTable *line_table,
243 LineTable::shared_ptr GetLineTable(const dw_offset_t offset) const;
246 typedef std::map<dw_offset_t, LineTable::shared_ptr> LineTableMap;
H A DDWARFDebugLine.cpp37 LineTable::shared_ptr line_table_sp(new LineTable); in Parse()
51 line_table_sp.reset(new LineTable); in Parse()
65 DWARFDebugLine::LineTable::shared_ptr
67 DWARFDebugLine::LineTable::shared_ptr line_table_shared_ptr; in GetLineTable()
841 DWARFDebugLine::LineTable *line_table = (DWARFDebugLine::LineTable *)userData; in ParseStatementTableCallback()
862 LineTable *line_table, DWARFUnit *dwarf_cu) { in ParseStatementTable()
975 void DWARFDebugLine::LineTable::Dump(Log *log) const { in Dump()
992 void DWARFDebugLine::LineTable::AppendRow(const DWARFDebugLine::Row &state) { in AppendRow()
1008 uint32_t DWARFDebugLine::LineTable::LookupAddress(dw_addr_t address, in LookupAddress()
H A DDWARFUnit.cpp520 LineTable *line_table = sc.comp_unit->GetLineTable(); in BuildAddressRangeTable()
523 LineTable::FileAddressRanges file_ranges; in BuildAddressRangeTable()
528 const LineTable::FileAddressRanges::Entry &range = in BuildAddressRangeTable()
545 LineTable *line_table = sc.comp_unit->GetLineTable(); in BuildAddressRangeTable()
548 LineTable::FileAddressRanges file_ranges; in BuildAddressRangeTable()
553 const LineTable::FileAddressRanges::Entry &range = in BuildAddressRangeTable()
H A DSymbolFileDWARFDebugMap.h383 lldb_private::LineTable *
385 lldb_private::LineTable *line_table);
/freebsd-12.1/contrib/llvm/include/llvm/ObjectYAML/
H A DDWARFYAML.h128 struct LineTable { struct
157 std::vector<LineTable> DebugLines; argument
176 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::DWARFYAML::LineTable) in LLVM_YAML_IS_SEQUENCE_VECTOR()
230 template <> struct MappingTraits<DWARFYAML::LineTable> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
231 static void mapping(IO &IO, DWARFYAML::LineTable &LineTable); in LLVM_YAML_IS_SEQUENCE_VECTOR()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Basic/
H A DSourceManager.cpp301 LineTable->AddLineNote(LocInfo.first, LocInfo.second, LineNo, FilenameID, in AddLineNote()
306 if (!LineTable) in getLineTable()
307 LineTable = new LineTableInfo(); in getLineTable()
308 return *LineTable; in getLineTable()
323 delete LineTable; in ~SourceManager()
352 if (LineTable) in clearIDTables()
353 LineTable->clear(); in clearIDTables()
1385 assert(LineTable && "Can't have linetable entries without a LineTable!"); in getFileCharacteristic()
1388 LineTable->FindNearestLineEntry(LocInfo.first, LocInfo.second); in getFileCharacteristic()
1453 LineTable->FindNearestLineEntry(LocInfo.first, LocInfo.second)) { in getPresumedLoc()
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/source/API/
H A DSBCompileUnit.cpp48 LineTable *line_table = m_opaque_ptr->GetLineTable(); in GetNumLineEntries()
60 LineTable *line_table = m_opaque_ptr->GetLineTable(); in GetLineEntryAtIndex()
/freebsd-12.1/contrib/llvm/lib/MC/
H A DMCContext.cpp586 const MCDwarfLineTable &LineTable = getMCDwarfLineTable(CUID); in isValidDwarfFileNumber() local
588 return getDwarfVersion() >= 5 && LineTable.hasRootFile(); in isValidDwarfFileNumber()
589 if (FileNumber >= LineTable.getMCDwarfFiles().size()) in isValidDwarfFileNumber()
592 return !LineTable.getMCDwarfFiles()[FileNumber].Name.empty(); in isValidDwarfFileNumber()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Core/
H A DFileLineResolver.cpp48 LineTable *line_table = cu->GetLineTable(); in SearchCallback()
/freebsd-12.1/contrib/llvm/tools/lld/ELF/
H A DInputFiles.h247 std::vector<const llvm::DWARFDebugLine::LineTable *> LineTables;
249 const llvm::DWARFDebugLine::LineTable *LT;
H A DInputFiles.cpp133 Expected<const DWARFDebugLine::LineTable *> ExpectedLT = in initializeDwarf()
135 const DWARFDebugLine::LineTable *LT = nullptr; in initializeDwarf()
212 for (const llvm::DWARFDebugLine::LineTable *LT : LineTables) in getDILineInfo()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Target/
H A DThreadPlanStepOverRange.cpp226 LineTable *line_table = m_addr_context.comp_unit->GetLineTable(); in ShouldStop()
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/
H A Dlldb-forward.h128 class LineTable; variable
369 typedef std::shared_ptr<lldb_private::LineTable> LineTableSP;

12