Home
last modified time | relevance | path

Searched refs:LineTable (Results 1 – 25 of 68) 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
27 LineTable::Entry::LessThanBinaryPredicate less_than_bp(this); in LineTable()
37 LineTable::~LineTable() = default;
39 void LineTable::InsertLineEntry(lldb::addr_t file_addr, uint32_t line, in InsertLineEntry()
49 LineTable::Entry::LessThanBinaryPredicate less_than_bp(this); in InsertLineEntry()
63 void LineTable::LineSequenceImpl::Clear() { m_entries.clear(); } in Clear()
65 std::unique_ptr<LineSequence> LineTable::CreateLineSequenceContainer() { in CreateLineSequenceContainer()
66 return std::make_unique<LineTable::LineSequenceImpl>(); in CreateLineSequenceContainer()
69 void LineTable::AppendLineEntryToSequence( in AppendLineEntryToSequence()
[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/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.h16 #include "lldb/Symbol/LineTable.h"
248 LineTable *GetLineTable();
348 void SetLineTable(LineTable *line_table);
430 std::unique_ptr<LineTable> m_line_table_up;
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFDebugLine.cpp537 DWARFDebugLine::LineTable::LineTable() { clear(); } in LineTable() function in DWARFDebugLine::LineTable
539 void DWARFDebugLine::LineTable::dump(raw_ostream &OS, in dump()
556 void DWARFDebugLine::LineTable::clear() { in clear()
563 struct LineTable *LT, uint64_t TableOffset, in ParsingState()
565 : LineTable(LT), LineTableOffset(TableOffset), ErrorHandler(ErrorHandler) { in ParsingState()
570 Row.reset(LineTable->Prologue.DefaultIsStmt); in resetRowAndSequence()
575 unsigned RowNumber = LineTable->Rows.size(); in appendRowToMatrix()
582 LineTable->appendRow(Row); in appendRowToMatrix()
589 LineTable->appendSequence(Sequence); in appendRowToMatrix()
595 const DWARFDebugLine::LineTable *
[all …]
H A DDWARFContext.cpp69 using DWARFLineTable = DWARFDebugLine::LineTable;
398 Expected<const DWARFDebugLine::LineTable *>
677 Expected<const DWARFDebugLine::LineTable *>
1489 const DWARFDebugLine::LineTable *
1491 Expected<const DWARFDebugLine::LineTable *> ExpectedLineTable = in getLineTableForUnit()
1500 Expected<const DWARFDebugLine::LineTable *> DWARFContext::getLineTableForUnit( in getLineTableForUnit()
1744 if (const DWARFLineTable *LineTable = getLineTableForUnit(CU)) { in getLineInfoForAddress() local
1745 LineTable->getFileLineInfoForAddress( in getLineInfoForAddress()
1796 const DWARFLineTable *LineTable = getLineTableForUnit(CU); in getLineInfoForAddressRange() local
1800 if (!LineTable->lookupAddressRange({Address.Address, Address.SectionIndex}, in getLineInfoForAddressRange()
[all …]
H A DDWARFVerifier.cpp943 auto LineTable = DCtx.getLineTableForUnit(CU.get()); in verifyDebugLineStmtOffsets() local
945 if (!LineTable) { in verifyDebugLineStmtOffsets()
956 assert(LineTable == nullptr); in verifyDebugLineStmtOffsets()
982 auto LineTable = DCtx.getLineTableForUnit(CU.get()); in verifyDebugLineRows() local
985 if (!LineTable) in verifyDebugLineRows()
989 bool isDWARF5 = LineTable->Prologue.getVersion() >= 5; in verifyDebugLineRows()
990 uint32_t MaxDirIndex = LineTable->Prologue.IncludeDirectories.size(); in verifyDebugLineRows()
994 for (const auto &FileName : LineTable->Prologue.FileNames) { in verifyDebugLineRows()
1012 const bool HasFullPath = LineTable->getFileNameByIndex( in verifyDebugLineRows()
1033 if (LineTable->Rows.size() == 1 && LineTable->Rows.front().EndSequence) in verifyDebugLineRows()
[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/ObjectYAML/
H A DDWARFYAML.cpp262 void MappingTraits<DWARFYAML::LineTable>::mapping( in mapping()
263 IO &IO, DWARFYAML::LineTable &LineTable) { in mapping() argument
264 IO.mapOptional("Format", LineTable.Format, dwarf::DWARF32); in mapping()
265 IO.mapOptional("Length", LineTable.Length); in mapping()
266 IO.mapRequired("Version", LineTable.Version); in mapping()
267 IO.mapOptional("PrologueLength", LineTable.PrologueLength); in mapping()
268 IO.mapRequired("MinInstLength", LineTable.MinInstLength); in mapping()
269 if(LineTable.Version >= 4) in mapping()
270 IO.mapRequired("MaxOpsPerInst", LineTable.MaxOpsPerInst); in mapping()
271 IO.mapRequired("DefaultIsStmt", LineTable.DefaultIsStmt); in mapping()
[all …]
H A DDWARFEmitter.cpp571 for (const DWARFYAML::LineTable &LineTable : DI.DebugLines) { in emitDebugLine() local
577 writeInteger(LineTable.MinInstLength, BufferOS, DI.IsLittleEndian); in emitDebugLine()
579 if (LineTable.Version >= 4) in emitDebugLine()
580 writeInteger(LineTable.MaxOpsPerInst, BufferOS, DI.IsLittleEndian); in emitDebugLine()
581 writeInteger(LineTable.DefaultIsStmt, BufferOS, DI.IsLittleEndian); in emitDebugLine()
582 writeInteger(LineTable.LineBase, BufferOS, DI.IsLittleEndian); in emitDebugLine()
583 writeInteger(LineTable.LineRange, BufferOS, DI.IsLittleEndian); 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()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/
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()
325 for (const DWARFDebugLine::Row &Row : LineTable.Rows) { in emitLineTableRows()
336 (Row.Address.Address - Address) / LineTable.Prologue.MinInstLength; in emitLineTableRows()
/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.cpp32 const DWARFDebugLine::LineTable *LineTable; member
39 LineTable = DICtx.getLineTableForUnit(CU); in CUInfo()
42 if (LineTable) in CUInfo()
43 FileCache.assign(LineTable->Prologue.FileNames.size() + 1, UINT32_MAX); in CUInfo()
72 if (!LineTable || DwarfFileIdx >= FileCache.size()) in DWARFToGSYMFileIndex()
78 if (LineTable->getFileNameByIndex( in DWARFToGSYMFileIndex()
324 if (!CUI.LineTable->lookupAddressRange(SecAddress, RangeSize, RowVector)) { in convertFunctionLineTable()
346 FI.OptLineTable = LineTable(); in convertFunctionLineTable()
352 FI.OptLineTable = LineTable(); in convertFunctionLineTable()
356 const DWARFDebugLine::Row &Row = CUI.LineTable->Rows[RowIndex]; in convertFunctionLineTable()
[all …]
H A DLineTable.cpp1 //===- LineTable.cpp --------------------------------------------*- C++ -*-===//
9 #include "llvm/DebugInfo/GSYM/LineTable.h"
59 "0x%8.8" PRIx64 ": missing LineTable MinDelta", Offset); in parse()
63 "0x%8.8" PRIx64 ": missing LineTable MaxDelta", Offset); in parse()
68 "0x%8.8" PRIx64 ": missing LineTable FirstLine", Offset); in parse()
122 llvm::Error LineTable::encode(FileWriter &Out, uint64_t BaseAddr) const { in encode()
123 // Users must verify the LineTable is valid prior to calling this funtion. in encode()
124 // We don't want to emit any LineTable objects if they are not valid since in encode()
128 "attempted to encode invalid LineTable object"); in encode()
209 "LineEntry in LineTable no in encode()
[all...]
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/
H A DVTuneSharedStructs.h32 VTuneLineTable LineTable; member
67 MI.LineTable, MI.LoadAddr, MI.LoadSize, MI.MethodID, MI.NameSI, in size()
73 IB, MI.LineTable, MI.LoadAddr, MI.LoadSize, MI.MethodID, MI.NameSI, in deserialize()
79 OB, MI.LineTable, MI.LoadAddr, MI.LoadSize, MI.MethodID, MI.NameSI, in serialize()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFCompileUnit.cpp14 #include "lldb/Symbol/LineTable.h"
79 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/
H A DDWARFStreamer.h
H A DDWARFLinkerDeclContext.h
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/
H A DDWARFStreamer.cpp
H A DDWARFLinkerDeclContext.cpp
/freebsd/contrib/llvm-project/llvm/include/llvm/DWARFLinker/Classic/
H A DDWARFStreamer.h152 void emitLineTableForUnit(const DWARFDebugLine::LineTable &LineTable,
268 void emitLineTableRows(const DWARFDebugLine::LineTable &LineTable,
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Classic/
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()
1039 const DWARFDebugLine::LineTable &LineTable, MCSymbol *LineEndSym, in emitLineTableRows() argument
1043 Params.DWARF2LineOpcodeBase = LineTable.Prologue.OpcodeBase; in emitLineTableRows()
1044 Params.DWARF2LineBase = LineTable.Prologue.LineBase; in emitLineTableRows()
1045 Params.DWARF2LineRange = LineTable.Prologue.LineRange; in emitLineTableRows()
1049 if (LineTable.Rows.empty()) { in emitLineTableRows()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DDWARFYAML.h161 struct LineTable { struct
250 std::vector<LineTable> DebugLines;
286 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::DWARFYAML::LineTable) in LLVM_YAML_IS_SEQUENCE_VECTOR()
382 template <> struct MappingTraits<DWARFYAML::LineTable> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
383 static void mapping(IO &IO, DWARFYAML::LineTable &LineTable); in LLVM_YAML_IS_SEQUENCE_VECTOR()

123