| /freebsd/contrib/llvm-project/lldb/source/Symbol/ |
| H A D | LineTable.cpp | 21 LineTable::LineTable(CompileUnit *comp_unit) in LineTable() function in LineTable 24 LineTable::LineTable(CompileUnit *comp_unit, std::vector<Sequence> &&sequences) in LineTable() function in LineTable 35 LineTable::~LineTable() = default; 37 void LineTable::InsertLineEntry(lldb::addr_t file_addr, uint32_t line, in InsertLineEntry() 59 void LineTable::AppendLineEntryToSequence( in AppendLineEntryToSequence() 92 void LineTable::InsertSequence(Sequence sequence) { in InsertSequence() 130 bool LineTable::LessThanBinaryPredicate::operator()(const Entry &a, in operator ()() 150 bool LineTable::LessThanBinaryPredicate::operator()( in operator ()() 155 uint32_t LineTable::GetSize() const { return m_entries.size(); } in GetSize() 157 bool LineTable::GetLineEntryAtIndex(uint32_t idx, LineEntry &line_entry) { in GetLineEntryAtIndex() [all …]
|
| /freebsd/contrib/llvm-project/lldb/include/lldb/Symbol/ |
| H A D | LineTable.h | 25 class LineTable { 32 LineTable(CompileUnit *comp_unit); 38 LineTable(CompileUnit *comp_unit, std::vector<Sequence> &&sequences); 41 ~LineTable(); 203 LineTable *LinkLineTable(const FileRangeMap &file_range_map); 306 friend class LineTable; variable 311 LessThanBinaryPredicate(LineTable *line_table) : m_line_table(line_table) {} in LessThanBinaryPredicate() 312 bool operator()(const LineTable::Entry &, const LineTable::Entry &) const; 316 LineTable *m_line_table; 321 LineTable *line_table; [all …]
|
| H A D | CompileUnit.h | 250 LineTable *GetLineTable(); 350 void SetLineTable(LineTable *line_table); 437 std::unique_ptr<LineTable> m_line_table_up;
|
| /freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/ |
| H A D | DWARFLinkerTypeUnit.cpp | 28 LineTable.Prologue.FormParams = getFormParams(); in TypeUnit() 29 LineTable.Prologue.MinInstLength = 1; in TypeUnit() 30 LineTable.Prologue.MaxOpsPerInst = 1; in TypeUnit() 31 LineTable.Prologue.DefaultIsStmt = 1; in TypeUnit() 32 LineTable.Prologue.LineBase = -5; in TypeUnit() 33 LineTable.Prologue.LineRange = 14; in TypeUnit() 34 LineTable.Prologue.OpcodeBase = 13; in TypeUnit() 35 LineTable.Prologue.StandardOpcodeLengths = {0, 1, 1, 1, 1, 0, in TypeUnit() 89 if (!LineTable.Prologue.FileNames.empty()) { in createDIETree() 274 assert(LineTable.Prologue.IncludeDirectories.size() < UINT32_MAX); in addFileNameIntoLinetable() [all …]
|
| H A D | DebugLineSectionEmitter.h | 29 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/GSYM/ |
| H A D | LineTable.h | 119 class LineTable { 155 LLVM_ABI static llvm::Expected<LineTable> decode(DataExtractor &Data, 211 bool operator==(const LineTable &RHS) const { 214 bool operator!=(const LineTable &RHS) const { 217 bool operator<(const LineTable &RHS) const { 229 LLVM_ABI raw_ostream &operator<<(raw_ostream &OS, const gsym::LineTable <);
|
| /freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/ |
| H A D | DWARFYAML.cpp | 278 void MappingTraits<DWARFYAML::LineTable>::mapping( in mapping() 279 IO &IO, DWARFYAML::LineTable &LineTable) { in mapping() argument 280 IO.mapOptional("Format", LineTable.Format, dwarf::DWARF32); in mapping() 281 IO.mapOptional("Length", LineTable.Length); in mapping() 282 IO.mapRequired("Version", LineTable.Version); in mapping() 283 IO.mapOptional("PrologueLength", LineTable.PrologueLength); in mapping() 284 IO.mapRequired("MinInstLength", LineTable.MinInstLength); in mapping() 285 if(LineTable.Version >= 4) in mapping() 286 IO.mapRequired("MaxOpsPerInst", LineTable.MaxOpsPerInst); in mapping() 287 IO.mapRequired("DefaultIsStmt", LineTable.DefaultIsStmt); in mapping() [all …]
|
| H A D | DWARFEmitter.cpp | 598 for (const DWARFYAML::LineTable &LineTable : DI.DebugLines) { in emitDebugLine() local 604 writeInteger(LineTable.MinInstLength, BufferOS, DI.IsLittleEndian); in emitDebugLine() 606 if (LineTable.Version >= 4) in emitDebugLine() 607 writeInteger(LineTable.MaxOpsPerInst, BufferOS, DI.IsLittleEndian); in emitDebugLine() 608 writeInteger(LineTable.DefaultIsStmt, BufferOS, DI.IsLittleEndian); in emitDebugLine() 609 writeInteger(LineTable.LineBase, BufferOS, DI.IsLittleEndian); in emitDebugLine() 610 writeInteger(LineTable.LineRange, BufferOS, DI.IsLittleEndian); in emitDebugLine() 613 LineTable.StandardOpcodeLengths.value_or( in emitDebugLine() 614 getStandardOpcodeLengths(LineTable.Version, LineTable.OpcodeBase)); in emitDebugLine() 615 uint8_t OpcodeBase = LineTable.OpcodeBase in emitDebugLine() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFDebugLine.cpp | 537 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() 568 Row.reset(LineTable->Prologue.DefaultIsStmt); in resetRowAndSequence() 574 unsigned RowNumber = LineTable->Rows.size(); in appendRowToMatrix() 581 LineTable->appendRow(Row); in appendRowToMatrix() 588 LineTable->appendSequence(Sequence); in appendRowToMatrix() 594 const DWARFDebugLine::LineTable * [all …]
|
| H A D | DWARFContext.cpp | 67 using DWARFLineTable = DWARFDebugLine::LineTable; 396 Expected<const DWARFDebugLine::LineTable *> 673 Expected<const DWARFDebugLine::LineTable *> 1484 const DWARFDebugLine::LineTable * 1486 Expected<const DWARFDebugLine::LineTable *> ExpectedLineTable = in getLineTableForUnit() 1495 Expected<const DWARFDebugLine::LineTable *> DWARFContext::getLineTableForUnit( in getLineTableForUnit() 1743 if (const DWARFLineTable *LineTable = getLineTableForUnit(CU)) { in getLineInfoForAddress() local 1744 LineTable->getFileLineInfoForAddress( in getLineInfoForAddress() 1795 const DWARFLineTable *LineTable = getLineTableForUnit(CU); in getLineInfoForAddressRange() local 1799 if (!LineTable->lookupAddressRange({Address.Address, Address.SectionIndex}, in getLineInfoForAddressRange() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/ |
| H A D | DWARFDebugLine.h | 233 struct LineTable { struct 234 LLVM_ABI LineTable(); 339 LLVM_ABI const LineTable *getLineTable(uint64_t Offset) const; 340 LLVM_ABI Expected<const LineTable *> 365 LLVM_ABI LineTable 404 LLVM_ABI ParsingState(struct LineTable *LT, uint64_t TableOffset, 444 struct LineTable *LineTable; member 456 using LineTableMapTy = std::map<uint64_t, LineTable>;
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/ |
| H A D | VTuneSharedStructs.h | 32 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/llvm/lib/DebugInfo/GSYM/ |
| H A D | DwarfTransformer.cpp | 29 const DWARFDebugLine::LineTable *LineTable; member 36 LineTable = DICtx.getLineTableForUnit(CU); in CUInfo() 39 if (LineTable) in CUInfo() 40 FileCache.assign(LineTable->Prologue.FileNames.size() + 1, UINT32_MAX); in CUInfo() 69 if (!LineTable || DwarfFileIdx >= FileCache.size()) in DWARFToGSYMFileIndex() 75 if (LineTable->getFileNameByIndex( in DWARFToGSYMFileIndex() 332 if (!CUI.LineTable->lookupAddressRange(SecAddress, RangeSize, RowVector, in convertFunctionLineTable() 355 FI.OptLineTable = LineTable(); in convertFunctionLineTable() 361 FI.OptLineTable = LineTable(); in convertFunctionLineTable() 365 const DWARFDebugLine::Row &Row = CUI.LineTable->Rows[RowIndex]; in convertFunctionLineTable() [all …]
|
| H A D | LineTable.cpp | 1 //===- 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/lldb/source/Plugins/SymbolFile/DWARF/ |
| H A D | DWARFCompileUnit.cpp | 84 if (LineTable *line_table = sc.comp_unit->GetLineTable()) { in BuildAddressRangeTable() 85 LineTable::FileAddressRanges file_ranges; in BuildAddressRangeTable() 90 const LineTable::FileAddressRanges::Entry &range = in BuildAddressRangeTable()
|
| /freebsd/contrib/llvm-project/lld/Common/ |
| H A D | DWARF.cpp | 23 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 D | DWARF.h | 38 std::vector<const llvm::DWARFDebugLine::LineTable *> lineTables; 40 const llvm::DWARFDebugLine::LineTable *lt;
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/DWARFLinker/ |
| H A D | DWARFStreamer.h | |
| H A D | DWARFLinkerDeclContext.h | |
| /freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/ |
| H A D | DWARFStreamer.cpp | |
| H A D | DWARFLinkerDeclContext.cpp | |
| /freebsd/contrib/llvm-project/llvm/include/llvm/DWARFLinker/Classic/ |
| H A D | DWARFStreamer.h | 156 emitLineTableForUnit(const DWARFDebugLine::LineTable &LineTable, 272 void emitLineTableRows(const DWARFDebugLine::LineTable &LineTable,
|
| H A D | DWARFLinkerDeclContext.h | 166 const DWARFDebugLine::LineTable &LineTable);
|
| /freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Classic/ |
| H A D | DWARFStreamer.cpp | 811 const DWARFDebugLine::LineTable &LineTable, const CompileUnit &Unit, in emitLineTableForUnit() argument 821 if (LineTable.Prologue.FormParams.Format == dwarf::DwarfFormat::DWARF64) { in emitLineTableForUnit() 826 LineTable.Prologue.FormParams.Format, LineSectionSize); in emitLineTableForUnit() 830 emitLineTablePrologue(LineTable.Prologue, DebugStrPool, DebugLineStrPool); in emitLineTableForUnit() 833 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 D | DWARFYAML.h | 165 struct LineTable { struct 254 std::vector<LineTable> DebugLines; 290 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::DWARFYAML::LineTable) in LLVM_YAML_IS_SEQUENCE_VECTOR() 387 template <> struct MappingTraits<DWARFYAML::LineTable> { in LLVM_YAML_IS_SEQUENCE_VECTOR() 388 LLVM_ABI static void mapping(IO &IO, DWARFYAML::LineTable &LineTable); in LLVM_YAML_IS_SEQUENCE_VECTOR()
|