Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/lldb/source/Symbol/
H A DLineTable.cpp21 LineTable::LineTable(CompileUnit *comp_unit) in LineTable() function in LineTable
24 LineTable::LineTable(CompileUnit *comp_unit, in LineTable() function in LineTable
37 LineTable::~LineTable() = default;
69 void LineTable::AppendLineEntryToSequence( in AppendLineEntryToSequence()
146 LineTable *line_table) in LessThanBinaryPredicate()
149 bool LineTable::Entry::LessThanBinaryPredicate::
150 operator()(const LineTable::Entry &a, const LineTable::Entry &b) const { in operator ()()
169 bool LineTable::Entry::LessThanBinaryPredicate::
305 uint32_t LineTable::FindLineEntryIndexByFileIndex( in FindLineEntryIndexByFileIndex()
406 LineTable *LineTable::LinkLineTable(const FileRangeMap &file_range_map) { in LinkLineTable()
[all …]
H A DCompileUnit.cpp155 LineTable *CompileUnit::GetLineTable() { in GetLineTable()
166 void CompileUnit::SetLineTable(LineTable *line_table) { in SetLineTable()
231 LineTable *line_table = GetLineTable(); in FindLineEntry()
280 LineTable *line_table = sc.comp_unit->GetLineTable(); in ResolveSymbolContext()
/freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Symbol/
H A DLineTable.h40 class LineTable {
46 LineTable(CompileUnit *comp_unit);
52 LineTable(CompileUnit *comp_unit,
56 ~LineTable();
207 LineTable *LinkLineTable(const FileRangeMap &file_range_map);
266 LessThanBinaryPredicate(LineTable *line_table);
267 bool operator()(const LineTable::Entry &, const LineTable::Entry &) const;
272 LineTable *m_line_table;
307 LineTable *line_table;
339 LineTable(const LineTable &) = delete;
[all …]
H A DCompileUnit.h238 LineTable *GetLineTable();
332 void SetLineTable(LineTable *line_table);
417 std::unique_ptr<LineTable> m_line_table_up;
/freebsd-13.1/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DDWARFYAML.cpp235 void MappingTraits<DWARFYAML::LineTable>::mapping( in mapping()
236 IO &IO, DWARFYAML::LineTable &LineTable) { in mapping() argument
238 IO.mapOptional("Length", LineTable.Length); in mapping()
239 IO.mapRequired("Version", LineTable.Version); in mapping()
242 if(LineTable.Version >= 4) in mapping()
245 IO.mapRequired("LineBase", LineTable.LineBase); in mapping()
246 IO.mapRequired("LineRange", LineTable.LineRange); in mapping()
247 IO.mapOptional("OpcodeBase", LineTable.OpcodeBase); in mapping()
249 IO.mapOptional("IncludeDirs", LineTable.IncludeDirs); in mapping()
250 IO.mapOptional("Files", LineTable.Files); in mapping()
[all …]
H A DDWARFEmitter.cpp570 for (const DWARFYAML::LineTable &LineTable : DI.DebugLines) { in emitDebugLine() local
578 if (LineTable.Version >= 4) in emitDebugLine()
585 LineTable.StandardOpcodeLengths.getValueOr( in emitDebugLine()
586 getStandardOpcodeLengths(LineTable.Version, LineTable.OpcodeBase)); in emitDebugLine()
587 uint8_t OpcodeBase = LineTable.OpcodeBase in emitDebugLine()
588 ? *LineTable.OpcodeBase in emitDebugLine()
594 for (StringRef IncludeDir : LineTable.IncludeDirs) { in emitDebugLine()
600 for (const DWARFYAML::File &File : LineTable.Files) in emitDebugLine()
605 LineTable.PrologueLength ? *LineTable.PrologueLength : Buffer.size(); in emitDebugLine()
612 if (LineTable.Length) { in emitDebugLine()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/DebugInfo/GSYM/
H A DLineTable.h118 class LineTable {
154 static llvm::Expected<LineTable> decode(DataExtractor &Data,
210 bool operator==(const LineTable &RHS) const {
213 bool operator!=(const LineTable &RHS) const {
216 bool operator<(const LineTable &RHS) const {
228 raw_ostream &operator<<(raw_ostream &OS, const gsym::LineTable &LT);
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFCompileUnit.cpp64 if (LineTable *line_table = sc.comp_unit->GetLineTable()) { in BuildAddressRangeTable()
65 LineTable::FileAddressRanges file_ranges; in BuildAddressRangeTable()
70 const LineTable::FileAddressRanges::Entry &range = in BuildAddressRangeTable()
87 if (LineTable *line_table = sc.comp_unit->GetLineTable()) { in BuildAddressRangeTable()
88 LineTable::FileAddressRanges file_ranges; in BuildAddressRangeTable()
93 const LineTable::FileAddressRanges::Entry &range = in BuildAddressRangeTable()
/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFDebugLine.cpp514 DWARFDebugLine::LineTable::LineTable() { clear(); } in LineTable() function in DWARFDebugLine::LineTable
533 void DWARFDebugLine::LineTable::clear() { in clear()
559 LineTable->appendRow(Row); in appendRowToMatrix()
572 const DWARFDebugLine::LineTable *
590 LineTable *LT = &Pos.first->second; in getOrParseLineTable()
661 LineTable->Prologue.LineRange != 0 in advanceAddrForOpcode()
705 if (LineTable->Prologue.LineRange != 0) in handleSpecialOpcode()
707 LineTable->Prologue.LineBase + in handleSpecialOpcode()
724 Error DWARFDebugLine::LineTable::parse( in parse()
1452 LineTable LT; in parseNext()
[all …]
H A DDWARFContext.cpp63 using DWARFLineTable = DWARFDebugLine::LineTable;
928 const DWARFDebugLine::LineTable *
1240 LineTable->getFileLineInfoForAddress( in getLineInfoForAddress()
1275 const DWARFLineTable *LineTable = getLineTableForUnit(CU); in getLineInfoForAddressRange() local
1311 const DWARFLineTable *LineTable = nullptr; in getInliningInfoForAddress() local
1319 LineTable = getLineTableForUnit(CU); in getInliningInfoForAddress()
1320 if (LineTable && LineTable->getFileLineInfoForAddress( in getInliningInfoForAddress()
1344 LineTable = getLineTableForUnit(CU); in getInliningInfoForAddress()
1346 if (LineTable) in getInliningInfoForAddress()
1347 LineTable->getFileLineInfoForAddress( in getInliningInfoForAddress()
[all …]
H A DDWARFVerifier.cpp727 auto LineTable = DCtx.getLineTableForUnit(CU.get()); in verifyDebugLineStmtOffsets() local
729 if (!LineTable) { in verifyDebugLineStmtOffsets()
738 assert(LineTable == nullptr); in verifyDebugLineStmtOffsets()
762 auto LineTable = DCtx.getLineTableForUnit(CU.get()); in verifyDebugLineRows() local
765 if (!LineTable) in verifyDebugLineRows()
786 const bool HasFullPath = LineTable->getFileNameByIndex( in verifyDebugLineRows()
808 for (const auto &Row : LineTable->Rows) { in verifyDebugLineRows()
820 LineTable->Rows[RowIndex - 1].dump(OS); in verifyDebugLineRows()
826 if (!LineTable->hasFileAtIndex(Row.File)) { in verifyDebugLineRows()
828 bool isDWARF5 = LineTable->Prologue.getVersion() >= 5; in verifyDebugLineRows()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFDebugLine.h233 struct LineTable { struct
234 LineTable();
309 const LineTable *getLineTable(uint64_t Offset) const; argument
310 Expected<const LineTable *>
334 LineTable parseNext(function_ref<void(Error)> RecoverableErrorHandler,
371 ParsingState(struct LineTable *LT, uint64_t TableOffset,
402 struct LineTable *LineTable; member
414 using LineTableMapTy = std::map<uint64_t, LineTable>;
/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DDwarfTransformer.cpp28 const DWARFDebugLine::LineTable *LineTable; member
35 LineTable = DICtx.getLineTableForUnit(CU); in CUInfo()
38 if (LineTable) in CUInfo()
39 FileCache.assign(LineTable->Prologue.FileNames.size() + 1, UINT32_MAX); in CUInfo()
67 if (!LineTable) in DWARFToGSYMFileIndex()
74 if (LineTable->getFileNameByIndex( in DWARFToGSYMFileIndex()
269 FI.OptLineTable = LineTable(); in convertFunctionLineTable()
278 FI.OptLineTable = LineTable(); in convertFunctionLineTable()
282 const DWARFDebugLine::Row &Row = CUI.LineTable->Rows[RowIndex]; in convertFunctionLineTable()
322 CUI.LineTable->Rows[RowIndex2].dump(Log); in convertFunctionLineTable()
[all …]
H A DLineTable.cpp122 llvm::Error LineTable::encode(FileWriter &Out, uint64_t BaseAddr) const { in encode()
251 llvm::Expected<LineTable> LineTable::decode(DataExtractor &Data, in decode()
253 LineTable LT; in decode()
266 Expected<LineEntry> LineTable::lookup(DataExtractor &Data, uint64_t BaseAddr, uint64_t Addr) { in lookup()
289 raw_ostream &llvm::gsym::operator<<(raw_ostream &OS, const LineTable &LT) { in operator <<()
H A DFunctionInfo.cpp76 if (Expected<LineTable> LT = LineTable::decode(InfoData, BaseAddr)) in decode()
203 if (auto ExpectedLE = LineTable::lookup(InfoData, FuncAddr, Addr)) in lookup()
/freebsd-13.1/contrib/llvm-project/lld/Common/
H A DDWARF.cpp23 Expected<const DWARFDebugLine::LineTable *> expectedLT = in DWARFCache()
25 const DWARFDebugLine::LineTable *lt = nullptr; in DWARFCache()
94 for (const llvm::DWARFDebugLine::LineTable *lt : lineTables) { in getDILineInfo()
/freebsd-13.1/contrib/llvm-project/lld/include/lld/Common/
H A DDWARF.h38 std::vector<const llvm::DWARFDebugLine::LineTable *> lineTables;
40 const llvm::DWARFDebugLine::LineTable *lt;
/freebsd-13.1/contrib/llvm-project/llvm/lib/DWARFLinker/
H A DDWARFLinkerDeclContext.cpp193 const DWARFDebugLine::LineTable &LineTable) { in getResolvedPath() argument
199 bool FoundFileName = LineTable.getFileNameByIndex( in getResolvedPath()
H A DDWARFLinker.cpp1656 DWARFDebugLine::LineTable LineTable; in patchLineTableForUnit() local
1665 LineTable.parse(LineExtractor, &StmtOffset, OrigDwarf, in patchLineTableForUnit()
1671 NewRows.reserve(LineTable.Rows.size()); in patchLineTableForUnit()
1690 for (auto &Row : LineTable.Rows) { in patchLineTableForUnit()
1760 if (LineTable.Prologue.getVersion() < 2 || in patchLineTableForUnit()
1761 LineTable.Prologue.getVersion() > 5 || in patchLineTableForUnit()
1763 LineTable.Prologue.OpcodeBase > 13) in patchLineTableForUnit()
1769 if (LineTable.Prologue.getVersion() == 5) in patchLineTableForUnit()
1774 Params.DWARF2LineBase = LineTable.Prologue.LineBase; in patchLineTableForUnit()
1775 Params.DWARF2LineRange = LineTable.Prologue.LineRange; in patchLineTableForUnit()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DDWARFYAML.h138 struct LineTable { struct
227 std::vector<LineTable> DebugLines;
262 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::DWARFYAML::LineTable) in LLVM_YAML_IS_SEQUENCE_VECTOR()
342 template <> struct MappingTraits<DWARFYAML::LineTable> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
343 static void mapping(IO &IO, DWARFYAML::LineTable &LineTable); in LLVM_YAML_IS_SEQUENCE_VECTOR()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/DWARFLinker/
H A DDWARFLinkerDeclContext.h158 const DWARFDebugLine::LineTable &LineTable);
/freebsd-13.1/contrib/llvm-project/clang/lib/Basic/
H A DSourceManager.cpp296 LineTable->AddLineNote(LocInfo.first, LocInfo.second, LineNo, FilenameID, in AddLineNote()
301 if (!LineTable) in getLineTable()
302 LineTable.reset(new LineTableInfo()); in getLineTable()
303 return *LineTable; in getLineTable()
345 if (LineTable) in clearIDTables()
346 LineTable->clear(); in clearIDTables()
1486 assert(LineTable && "Can't have linetable entries without a LineTable!"); in getFileCharacteristic()
1489 LineTable->FindNearestLineEntry(LocInfo.first, LocInfo.second); in getFileCharacteristic()
1558 LineTable->FindNearestLineEntry(LocInfo.first, LocInfo.second)) { in getPresumedLoc()
1561 Filename = LineTable->getFilename(Entry->FilenameID); in getPresumedLoc()
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/source/Core/
H A DFileLineResolver.cpp45 LineTable *line_table = cu->GetLineTable(); in SearchCallback()
/freebsd-13.1/contrib/llvm-project/lldb/source/API/
H A DSBCompileUnit.cpp61 LineTable *line_table = m_opaque_ptr->GetLineTable(); in GetNumLineEntries()
75 LineTable *line_table = m_opaque_ptr->GetLineTable(); in GetLineEntryAtIndex()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/SymbolFile/Breakpad/
H A DSymbolFileBreakpad.cpp714 LineTable::CreateLineSequenceContainer(); in ParseLineTableAndSupportFiles()
717 LineTable::AppendLineEntryToSequence( in ParseLineTableAndSupportFiles()
723 line_seq_up = LineTable::CreateLineSequenceContainer(); in ParseLineTableAndSupportFiles()
740 LineTable::AppendLineEntryToSequence( in ParseLineTableAndSupportFiles()
749 data.line_table_up = std::make_unique<LineTable>(&cu, std::move(sequences)); in ParseLineTableAndSupportFiles()

12