Home
last modified time | relevance | path

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

123

/freebsd/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.cpp166 LineTable *CompileUnit::GetLineTable() { in GetLineTable()
177 void CompileUnit::SetLineTable(LineTable *line_table) { in SetLineTable()
241 LineTable *line_table = GetLineTable(); in FindLineEntry()
287 LineTable *line_table = sc.comp_unit->GetLineTable(); in ResolveSymbolContext()
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DDWARFLinkerTypeUnit.cpp29 LineTable.Prologue.FormParams = getFormParams(); in TypeUnit()
30 LineTable.Prologue.MinInstLength = 1; in TypeUnit()
31 LineTable.Prologue.MaxOpsPerInst = 1; in TypeUnit()
32 LineTable.Prologue.DefaultIsStmt = 1; in TypeUnit()
33 LineTable.Prologue.LineBase = -5; in TypeUnit()
34 LineTable.Prologue.LineRange = 14; in TypeUnit()
35 LineTable.Prologue.OpcodeBase = 13; in TypeUnit()
90 if (!LineTable.Prologue.FileNames.empty()) { in createDIETree()
278 LineTable.Prologue.IncludeDirectories.push_back( in addFileNameIntoLinetable()
294 FileIdx = LineTable.Prologue.FileNames.size(); in addFileNameIntoLinetable()
[all …]
H A DDebugLineSectionEmitter.h29 Error emit(const DWARFDebugLine::LineTable &LineTable) { in emit() argument
45 emitLineTablePrologue(LineTable.Prologue, OutSection); in emit()
48 emitLineTableRows(LineTable, OutSection); in emit()
295 void emitLineTableRows(const DWARFDebugLine::LineTable &LineTable, in emitLineTableRows() argument
299 Params.DWARF2LineOpcodeBase = LineTable.Prologue.OpcodeBase; in emitLineTableRows()
300 Params.DWARF2LineBase = LineTable.Prologue.LineBase; in emitLineTableRows()
301 Params.DWARF2LineRange = LineTable.Prologue.LineRange; in emitLineTableRows()
305 if (LineTable.Rows.empty()) { in emitLineTableRows()
324 for (const DWARFDebugLine::Row &Row : LineTable.Rows) { in emitLineTableRows()
335 (Row.Address.Address - Address) / LineTable.Prologue.MinInstLength; in emitLineTableRows()
H A DDWARFLinkerTypeUnit.h116 DWARFDebugLine::LineTable LineTable; variable
/freebsd/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);
265 LessThanBinaryPredicate(LineTable *line_table);
266 bool operator()(const LineTable::Entry &, const LineTable::Entry &) const;
271 LineTable *m_line_table;
307 LineTable *line_table;
339 LineTable(const LineTable &) = delete;
[all …]
H A DCompileUnit.h248 LineTable *GetLineTable();
348 void SetLineTable(LineTable *line_table);
430 std::unique_ptr<LineTable> m_line_table_up;
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DDWARFYAML.cpp233 void MappingTraits<DWARFYAML::LineTable>::mapping( in mapping()
234 IO &IO, DWARFYAML::LineTable &LineTable) { in mapping() argument
236 IO.mapOptional("Length", LineTable.Length); in mapping()
237 IO.mapRequired("Version", LineTable.Version); in mapping()
240 if(LineTable.Version >= 4) in mapping()
243 IO.mapRequired("LineBase", LineTable.LineBase); in mapping()
244 IO.mapRequired("LineRange", LineTable.LineRange); in mapping()
245 IO.mapOptional("OpcodeBase", LineTable.OpcodeBase); in mapping()
247 IO.mapOptional("IncludeDirs", LineTable.IncludeDirs); in mapping()
248 IO.mapOptional("Files", LineTable.Files); in mapping()
[all …]
H A DDWARFEmitter.cpp571 for (const DWARFYAML::LineTable &LineTable : DI.DebugLines) { in emitDebugLine() local
579 if (LineTable.Version >= 4) in emitDebugLine()
586 LineTable.StandardOpcodeLengths.value_or( in emitDebugLine()
587 getStandardOpcodeLengths(LineTable.Version, LineTable.OpcodeBase)); in emitDebugLine()
588 uint8_t OpcodeBase = LineTable.OpcodeBase in emitDebugLine()
589 ? *LineTable.OpcodeBase in emitDebugLine()
595 for (StringRef IncludeDir : LineTable.IncludeDirs) { in emitDebugLine()
601 for (const DWARFYAML::File &File : LineTable.Files) in emitDebugLine()
606 LineTable.PrologueLength ? *LineTable.PrologueLength : Buffer.size(); in emitDebugLine()
613 if (LineTable.Length) { in emitDebugLine()
[all …]
/freebsd/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/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFDebugLine.cpp521 DWARFDebugLine::LineTable::LineTable() { clear(); } in LineTable() function in DWARFDebugLine::LineTable
540 void DWARFDebugLine::LineTable::clear() { in clear()
566 LineTable->appendRow(Row); in appendRowToMatrix()
579 const DWARFDebugLine::LineTable *
597 LineTable *LT = &Pos.first->second; in getOrParseLineTable()
708 LineTable->Prologue.LineRange != 0 in advanceForOpcode()
753 if (LineTable->Prologue.LineRange != 0) in handleSpecialOpcode()
755 LineTable->Prologue.LineBase + in handleSpecialOpcode()
773 Error DWARFDebugLine::LineTable::parse( in parse()
1534 LineTable LT; in parseNext()
[all …]
H A DDWARFVerifier.cpp844 auto LineTable = DCtx.getLineTableForUnit(CU.get()); in verifyDebugLineStmtOffsets() local
846 if (!LineTable) { in verifyDebugLineStmtOffsets()
855 assert(LineTable == nullptr); in verifyDebugLineStmtOffsets()
879 auto LineTable = DCtx.getLineTableForUnit(CU.get()); in verifyDebugLineRows() local
882 if (!LineTable) in verifyDebugLineRows()
927 for (const auto &Row : LineTable->Rows) { in verifyDebugLineRows()
939 LineTable->Rows[RowIndex - 1].dump(OS); in verifyDebugLineRows()
948 if ((LineTable->Prologue.FileNames.size() || in verifyDebugLineRows()
949 LineTable->Rows.size() != 1) && in verifyDebugLineRows()
950 !LineTable->hasFileAtIndex(Row.File)) { in verifyDebugLineRows()
[all …]
H A DDWARFContext.cpp69 using DWARFLineTable = DWARFDebugLine::LineTable;
397 Expected<const DWARFDebugLine::LineTable *>
676 Expected<const DWARFDebugLine::LineTable *>
1487 const DWARFDebugLine::LineTable *
1743 LineTable->getFileLineInfoForAddress( in getLineInfoForAddress()
1830 const DWARFLineTable *LineTable = nullptr; in getInliningInfoForAddress() local
1838 LineTable = getLineTableForUnit(CU); in getInliningInfoForAddress()
1839 if (LineTable && LineTable->getFileLineInfoForAddress( in getInliningInfoForAddress()
1863 LineTable = getLineTableForUnit(CU); in getInliningInfoForAddress()
1865 if (LineTable) in getInliningInfoForAddress()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFDebugLine.h229 struct LineTable { struct
230 LineTable();
310 const LineTable *getLineTable(uint64_t Offset) const; argument
311 Expected<const LineTable *>
336 LineTable parseNext(function_ref<void(Error)> RecoverableErrorHandler,
374 ParsingState(struct LineTable *LT, uint64_t TableOffset,
413 struct LineTable *LineTable; member
425 using LineTableMapTy = std::map<uint64_t, LineTable>;
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DDwarfTransformer.cpp30 const DWARFDebugLine::LineTable *LineTable; member
37 LineTable = DICtx.getLineTableForUnit(CU); in CUInfo()
40 if (LineTable) in CUInfo()
41 FileCache.assign(LineTable->Prologue.FileNames.size() + 1, UINT32_MAX); in CUInfo()
70 if (!LineTable || DwarfFileIdx >= FileCache.size()) in DWARFToGSYMFileIndex()
76 if (LineTable->getFileNameByIndex( in DWARFToGSYMFileIndex()
336 FI.OptLineTable = LineTable(); in convertFunctionLineTable()
342 FI.OptLineTable = LineTable(); in convertFunctionLineTable()
346 const DWARFDebugLine::Row &Row = CUI.LineTable->Rows[RowIndex]; in convertFunctionLineTable()
401 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()
284 raw_ostream &llvm::gsym::operator<<(raw_ostream &OS, const LineTable &LT) { in operator <<()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFCompileUnit.cpp79 if (LineTable *line_table = sc.comp_unit->GetLineTable()) { in BuildAddressRangeTable()
80 LineTable::FileAddressRanges file_ranges; in BuildAddressRangeTable()
85 const LineTable::FileAddressRanges::Entry &range = in BuildAddressRangeTable()
/freebsd/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/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/contrib/llvm-project/llvm/include/llvm/DWARFLinker/Classic/
H A DDWARFStreamer.h155 void emitLineTableForUnit(const DWARFDebugLine::LineTable &LineTable,
271 void emitLineTableRows(const DWARFDebugLine::LineTable &LineTable,
H A DDWARFLinkerDeclContext.h166 const DWARFDebugLine::LineTable &LineTable);
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Classic/
H A DDWARFLinkerDeclContext.cpp197 const DWARFDebugLine::LineTable &LineTable) { in getResolvedPath() argument
203 bool FoundFileName = LineTable.getFileNameByIndex( in getResolvedPath()
H A DDWARFStreamer.cpp811 const DWARFDebugLine::LineTable &LineTable, const CompileUnit &Unit, in emitLineTableForUnit() argument
820 if (LineTable.Prologue.FormParams.Format == dwarf::DwarfFormat::DWARF64) { in emitLineTableForUnit()
825 LineTable.Prologue.FormParams.Format, LineSectionSize); in emitLineTableForUnit()
829 emitLineTablePrologue(LineTable.Prologue, DebugStrPool, DebugLineStrPool); in emitLineTableForUnit()
832 emitLineTableRows(LineTable, LineEndSym, in emitLineTableForUnit()
1040 const DWARFDebugLine::LineTable &LineTable, MCSymbol *LineEndSym, in emitLineTableRows() argument
1044 Params.DWARF2LineOpcodeBase = LineTable.Prologue.OpcodeBase; in emitLineTableRows()
1045 Params.DWARF2LineBase = LineTable.Prologue.LineBase; in emitLineTableRows()
1046 Params.DWARF2LineRange = LineTable.Prologue.LineRange; in emitLineTableRows()
1050 if (LineTable.Rows.empty()) { in emitLineTableRows()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/Debugging/
H A DDebuggerSupportPlugin.cpp170 DWARFDebugLine::LineTable LineTable; in startSynthesis() local
173 if (auto Err = LineTable.parse(DebugLineData, &Offset, *DWARFCtx, nullptr, in startSynthesis()
183 if (!LineTable.Prologue.FileNames.empty()) in startSynthesis()
184 FileName = *dwarf::toString(LineTable.Prologue.FileNames[0].Name); in startSynthesis()
/freebsd/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DDWARFYAML.h139 struct LineTable { struct
228 std::vector<LineTable> DebugLines;
263 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::DWARFYAML::LineTable) in LLVM_YAML_IS_SEQUENCE_VECTOR()
343 template <> struct MappingTraits<DWARFYAML::LineTable> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
344 static void mapping(IO &IO, DWARFYAML::LineTable &LineTable); in LLVM_YAML_IS_SEQUENCE_VECTOR()

123