/llvm-project/llvm/unittests/DebugInfo/DWARF/ |
H A D | DWARFDebugLineTest.cpp | 83 LineTable < = Gen->addLineTable(DWARF32); in setupParser() 84 LT.addExtendedOpcode(9, DW_LNE_set_address, {{0xadd4e55, LineTable::Quad}}); in setupParser() 89 LineTable <2 = Gen->addLineTable(DWARF64); in setupParser() 91 {{0x11223344, LineTable::Quad}}); in setupParser() 108 Expected<const DWARFDebugLine::LineTable *> 215 LineTable < = Gen->addLineTable(); in TEST_F() 216 LT.setCustomPrologue({{0, LineTable::Byte}}); in TEST_F() 239 LineTable < = Gen->addLineTable(Format); 270 LineTable < = Gen->addLineTable(Format); 271 LT.addExtendedOpcode(9, DW_LNE_set_address, {{0xadd4e55, LineTable [all...] |
H A D | DwarfGenerator.cpp | 185 /// dwarfgen::LineTable implementation. 187 DWARFDebugLine::Prologue dwarfgen::LineTable::createBasicPrologue() const { in createBasicPrologue() 228 void dwarfgen::LineTable::setPrologue(DWARFDebugLine::Prologue NewPrologue) { in setPrologue() 233 void dwarfgen::LineTable::setCustomPrologue( in setCustomPrologue() 239 void dwarfgen::LineTable::addByte(uint8_t Value) { in addByte() 243 void dwarfgen::LineTable::addStandardOpcode(uint8_t Opcode, in addStandardOpcode() 249 void dwarfgen::LineTable::addExtendedOpcode(uint64_t Length, uint8_t Opcode, in addExtendedOpcode() 257 void dwarfgen::LineTable::generate(MCContext &MC, AsmPrinter &Asm) const { in generate() 274 void dwarfgen::LineTable::writeData(ArrayRef<ValueAndLength> Data, in writeData() 295 size_t dwarfgen::LineTable [all...] |
H A D | DwarfGenerator.h | 175 class LineTable { 184 LineTable(uint16_t Version, dwarf::DwarfFormat Format, uint8_t AddrSize, 261 std::vector<std::unique_ptr<LineTable>> LineTables; 319 LineTable &
|
/llvm-project/lldb/source/Symbol/ |
H A D | LineTable.cpp | 1 //===-- LineTable.cpp -----------------------------------------------------===// 9 #include "lldb/Symbol/LineTable.h" 20 // LineTable constructor 21 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() [all...] |
/llvm-project/llvm/lib/DWARFLinker/Parallel/ |
H A D | DWARFLinkerTypeUnit.cpp | 29 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() 36 LineTable.Prologue.StandardOpcodeLengths = {0, 1, 1, 1, 1, 0, in TypeUnit() 90 if (!LineTable.Prologue.FileNames.empty()) { in createDIETree() 275 assert(LineTable 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 in emitLineTableRows() [all...] |
H A D | DWARFLinkerTypeUnit.h | 116 DWARFDebugLine::LineTable LineTable; variable
|
/llvm-project/lldb/include/lldb/Symbol/ |
H A D | LineTable.h | 40 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 D | CompileUnit.h | 16 #include "lldb/Symbol/LineTable.h" 250 LineTable *GetLineTable(); 350 void SetLineTable(LineTable *line_table); 437 std::unique_ptr<LineTable> m_line_table_up;
|
/llvm-project/llvm/lib/DebugInfo/DWARF/ |
H A D | DWARFDebugLine.cpp | 536 DWARFDebugLine::LineTable::LineTable() { clear(); } 538 void DWARFDebugLine::LineTable::dump(raw_ostream &OS, 555 void DWARFDebugLine::LineTable::clear() { 562 struct LineTable *LT, uint64_t TableOffset, in ParsingState() 564 : LineTable(LT), LineTableOffset(TableOffset), ErrorHandler(ErrorHandler) { in ParsingState() 569 Row.reset(LineTable->Prologue.DefaultIsStmt); in resetRowAndSequence() 574 unsigned RowNumber = LineTable->Rows.size(); in appendRowToMatrix() 581 LineTable->appendRow(Row); in appendRowToMatrix() 588 LineTable in appendRowToMatrix() 537 DWARFDebugLine::LineTable::LineTable() { clear(); } LineTable() function in DWARFDebugLine::LineTable [all...] |
H A D | DWARFContext.cpp | 67 using DWARFLineTable = DWARFDebugLine::LineTable; 396 Expected<const DWARFDebugLine::LineTable *> 675 Expected<const DWARFDebugLine::LineTable *> in getDebugAranges() 1486 const DWARFDebugLine::LineTable * in getAppleObjC() 1488 Expected<const DWARFDebugLine::LineTable *> ExpectedLineTable = 1497 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 in getLineInfoForAddressRange() 1832 const DWARFLineTable *LineTable = nullptr; getInliningInfoForAddress() local [all...] |
/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() 280 IO.mapOptional("Format", LineTable.Format, dwarf::DWARF32); 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 in mapping() 263 mapping(IO & IO,DWARFYAML::LineTable & LineTable) mapping() argument [all...] |
H A D | DWARFEmitter.cpp | 601 for (const DWARFYAML::LineTable &LineTable : DI.DebugLines) { in emitDebugLine() 607 writeInteger(LineTable.MinInstLength, BufferOS, DI.IsLittleEndian); in emitDebugLine() 609 if (LineTable.Version >= 4) in emitDebugLine() 610 writeInteger(LineTable.MaxOpsPerInst, BufferOS, DI.IsLittleEndian); in emitDebugLine() 611 writeInteger(LineTable.DefaultIsStmt, BufferOS, DI.IsLittleEndian); in emitDebugLine() 612 writeInteger(LineTable.LineBase, BufferOS, DI.IsLittleEndian); in emitDebugLine() 613 writeInteger(LineTable.LineRange, BufferOS, DI.IsLittleEndian); in emitDebugLine() 616 LineTable.StandardOpcodeLengths.value_or( in emitDebugLine() 617 getStandardOpcodeLengths(LineTable in emitDebugLine() 571 for (const DWARFYAML::LineTable &LineTable : DI.DebugLines) { emitDebugLine() local [all...] |
/llvm-project/llvm/include/llvm/DebugInfo/GSYM/ |
H A D | LineTable.h | 118 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 <);
|
/llvm-project/llvm/include/llvm/DebugInfo/DWARF/ |
H A D | DWARFDebugLine.h | 229 struct LineTable { struct 230 LineTable(); 312 const LineTable *getLineTable(uint64_t Offset) const; 313 Expected<const LineTable *> 338 LineTable parseNext(function_ref<void(Error)> RecoverableErrorHandler, 376 ParsingState(struct LineTable *LT, uint64_t TableOffset, 415 struct LineTable *LineTable; 427 using LineTableMapTy = std::map<uint64_t, LineTable>; 233 UnknownRowIndexLineTable global() argument 235 appendRowLineTable appendRow() argument 237 appendSequenceLineTable appendSequence() argument 248 hasFileAtIndexLineTable hasFileAtIndex() argument 252 getLastValidFileIndexLineTable getLastValidFileIndex() argument 261 getFileNameByIndexLineTable getFileNameByIndex() argument 310 SequencesLineTable global() argument 413 struct LineTable *LineTable; global() member
|
/llvm-project/llvm/lib/DebugInfo/GSYM/ |
H A D | DwarfTransformer.cpp | 29 const DWARFDebugLine::LineTable *LineTable; 36 LineTable = DICtx.getLineTableForUnit(CU); 39 if (LineTable) in CUInfo() 40 FileCache.assign(LineTable->Prologue.FileNames.size() + 1, UINT32_MAX); in CUInfo() 69 if (!LineTable || DwarfFileIdx >= FileCache.size()) 75 if (LineTable->getFileNameByIndex( in DWARFToGSYMFileIndex() 321 if (!CUI.LineTable->lookupAddressRange(SecAddress, RangeSize, RowVector)) { in convertFunctionLineTable() 343 FI.OptLineTable = LineTable(); in convertFunctionLineTable() 349 FI.OptLineTable = LineTable(); in convertFunctionLineTable() 32 const DWARFDebugLine::LineTable *LineTable; global() member [all...] |
H A D | LineTable.cpp | 122 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 <) { in operator <<()
|
/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()
|
/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/ |
H A D | DWARFCompileUnit.cpp | 15 #include "lldb/Symbol/LineTable.h" 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()
|
/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()
|
/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;
|
/llvm-project/llvm/include/llvm/DWARFLinker/Classic/ |
H A D | DWARFStreamer.h | 152 void emitLineTableForUnit(const DWARFDebugLine::LineTable &LineTable, 268 void emitLineTableRows(const DWARFDebugLine::LineTable &LineTable,
|
/llvm-project/llvm/lib/DWARFLinker/Classic/ |
H A D | DWARFStreamer.cpp | 811 const DWARFDebugLine::LineTable &LineTable, const CompileUnit &Unit, in emitLineTableForUnit() 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() 1038 const DWARFDebugLine::LineTable &LineTable, MCSymbol *LineEndSym, in emitLineTableRows() argument 1042 Params.DWARF2LineOpcodeBase = LineTable.Prologue.OpcodeBase; in emitLineTableRows() 1043 Params.DWARF2LineBase = LineTable in emitLineTableRows() 810 emitLineTableForUnit(const DWARFDebugLine::LineTable & LineTable,const CompileUnit & Unit,OffsetsStringPool & DebugStrPool,OffsetsStringPool & DebugLineStrPool) emitLineTableForUnit() argument [all...] |
H A D | DWARFLinkerDeclContext.cpp | 197 const DWARFDebugLine::LineTable &LineTable) { in getResolvedPath() argument 203 bool FoundFileName = LineTable.getFileNameByIndex( in getResolvedPath()
|
/llvm-project/llvm/lib/ExecutionEngine/Orc/Debugging/ |
H A D | DebuggerSupportPlugin.cpp | 170 DWARFDebugLine::LineTable LineTable; startSynthesis() local
|