Home
last modified time | relevance | path

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

123

/llvm-project-15.0.7/llvm/unittests/DebugInfo/DWARF/
H A DDWARFDebugLineTest.cpp447 {{LineTable::Half, LineTable::Long}, {Version, LineTable::Half}});
788 {{0x1234, LineTable::Half}, {0x56, LineTable::Byte}});
855 {{0x12345678, LineTable::Quad}, {0, LineTable::Byte}});
1343 LT.setCustomPrologue({{2, LineTable::Long}, {0, LineTable::Half}});
1345 LT2.setCustomPrologue({{2, LineTable::Long}, {1, LineTable::Half}});
1412 LT.setCustomPrologue({{2, LineTable::Long}, {0, LineTable::Half}});
1414 LT2.setCustomPrologue({{2, LineTable::Long}, {1, LineTable::Half}});
1492 0xd, {{1, LineTable::ULEB}, {0x123456789abcdef, LineTable::ULEB}});
1730 LineTable &setupTable() {
1803 LineTable &LT = setupTable();
[all …]
H A DDwarfGenerator.cpp158 DWARFDebugLine::Prologue dwarfgen::LineTable::createBasicPrologue() const { in createBasicPrologue()
204 void dwarfgen::LineTable::setCustomPrologue( in setCustomPrologue()
210 void dwarfgen::LineTable::addByte(uint8_t Value) { in addByte()
214 void dwarfgen::LineTable::addStandardOpcode(uint8_t Opcode, in addStandardOpcode()
220 void dwarfgen::LineTable::addExtendedOpcode(uint64_t Length, uint8_t Opcode, in addExtendedOpcode()
228 void dwarfgen::LineTable::generate(MCContext &MC, AsmPrinter &Asm) const { in generate()
245 void dwarfgen::LineTable::writeData(ArrayRef<ValueAndLength> Data, in writeData()
266 size_t dwarfgen::LineTable::getContentsSize() const { in getContentsSize()
284 MCSymbol *dwarfgen::LineTable::writeDefaultPrologue(AsmPrinter &Asm) const { in writeDefaultPrologue()
312 void dwarfgen::LineTable::writePrologue(AsmPrinter &Asm) const { in writePrologue()
[all …]
H A DDwarfGenerator.h172 class LineTable {
181 LineTable(uint16_t Version, dwarf::DwarfFormat Format, uint8_t AddrSize,
258 std::vector<std::unique_ptr<LineTable>> LineTables;
306 LineTable &
/llvm-project-15.0.7/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.cpp161 LineTable *CompileUnit::GetLineTable() { in GetLineTable()
172 void CompileUnit::SetLineTable(LineTable *line_table) { in SetLineTable()
241 LineTable *line_table = GetLineTable(); in FindLineEntry()
293 LineTable *line_table = sc.comp_unit->GetLineTable(); in ResolveSymbolContext()
/llvm-project-15.0.7/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.h238 LineTable *GetLineTable();
332 void SetLineTable(LineTable *line_table);
418 std::unique_ptr<LineTable> m_line_table_up;
/llvm-project-15.0.7/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.value_or( 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 …]
/llvm-project-15.0.7/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);
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/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()
665 LineTable->Prologue.LineRange != 0 in advanceAddrForOpcode()
709 if (LineTable->Prologue.LineRange != 0) in handleSpecialOpcode()
711 LineTable->Prologue.LineBase + in handleSpecialOpcode()
728 Error DWARFDebugLine::LineTable::parse( in parse()
1457 LineTable LT; in parseNext()
[all …]
H A DDWARFContext.cpp69 using DWARFLineTable = DWARFDebugLine::LineTable;
966 const DWARFDebugLine::LineTable *
1254 LineTable->getFileLineInfoForAddress( in getLineInfoForAddress()
1305 const DWARFLineTable *LineTable = getLineTableForUnit(CU); in getLineInfoForAddressRange() local
1341 const DWARFLineTable *LineTable = nullptr; in getInliningInfoForAddress() local
1349 LineTable = getLineTableForUnit(CU); in getInliningInfoForAddress()
1350 if (LineTable && LineTable->getFileLineInfoForAddress( in getInliningInfoForAddress()
1374 LineTable = getLineTableForUnit(CU); in getInliningInfoForAddress()
1376 if (LineTable) in getInliningInfoForAddress()
1377 LineTable->getFileLineInfoForAddress( in getInliningInfoForAddress()
[all …]
H A DDWARFVerifier.cpp828 auto LineTable = DCtx.getLineTableForUnit(CU.get()); in verifyDebugLineStmtOffsets() local
830 if (!LineTable) { in verifyDebugLineStmtOffsets()
839 assert(LineTable == nullptr); in verifyDebugLineStmtOffsets()
863 auto LineTable = DCtx.getLineTableForUnit(CU.get()); in verifyDebugLineRows() local
866 if (!LineTable) in verifyDebugLineRows()
887 const bool HasFullPath = LineTable->getFileNameByIndex( in verifyDebugLineRows()
909 for (const auto &Row : LineTable->Rows) { in verifyDebugLineRows()
921 LineTable->Rows[RowIndex - 1].dump(OS); in verifyDebugLineRows()
927 if (!LineTable->hasFileAtIndex(Row.File)) { in verifyDebugLineRows()
929 bool isDWARF5 = LineTable->Prologue.getVersion() >= 5; in verifyDebugLineRows()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFDebugLine.h226 struct LineTable { struct
227 LineTable();
302 const LineTable *getLineTable(uint64_t Offset) const; argument
303 Expected<const LineTable *>
328 LineTable parseNext(function_ref<void(Error)> RecoverableErrorHandler,
365 ParsingState(struct LineTable *LT, uint64_t TableOffset,
396 struct LineTable *LineTable; member
408 using LineTableMapTy = std::map<uint64_t, LineTable>;
/llvm-project-15.0.7/llvm/lib/DebugInfo/GSYM/
H A DDwarfTransformer.cpp29 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()
68 if (!LineTable) in DWARFToGSYMFileIndex()
75 if (LineTable->getFileNameByIndex( in DWARFToGSYMFileIndex()
271 FI.OptLineTable = LineTable(); in convertFunctionLineTable()
277 FI.OptLineTable = LineTable(); in convertFunctionLineTable()
281 const DWARFDebugLine::Row &Row = CUI.LineTable->Rows[RowIndex]; in convertFunctionLineTable()
321 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.cpp75 if (Expected<LineTable> LT = LineTable::decode(InfoData, BaseAddr)) in decode()
201 if (auto ExpectedLE = LineTable::lookup(InfoData, FuncAddr, Addr)) in lookup()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/lld/include/lld/Common/
H A DDWARF.h38 std::vector<const llvm::DWARFDebugLine::LineTable *> lineTables;
40 const llvm::DWARFDebugLine::LineTable *lt;
/llvm-project-15.0.7/llvm/lib/DWARFLinker/
H A DDWARFLinkerDeclContext.cpp194 const DWARFDebugLine::LineTable &LineTable) { in getResolvedPath() argument
200 bool FoundFileName = LineTable.getFileNameByIndex( in getResolvedPath()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/bolt/lib/Core/
H A DBinaryContext.cpp1481 const DWARFDebugLine::LineTable *LineTable = in addDebugFilenameToUnit() local
1484 LineTable->Prologue.FileNames; in addDebugFilenameToUnit()
1492 LineTable->Prologue in addDebugFilenameToUnit()
1647 const DWARFDebugLine::LineTable *LineTable = in preprocessDebugInfo() local
1650 LineTable->Prologue.FileNames; in preprocessDebugInfo()
1652 uint16_t DwarfVersion = LineTable->Prologue.getVersion(); in preprocessDebugInfo()
1655 if (LineTable->Prologue.ContentTypes.HasMD5) in preprocessDebugInfo()
1685 LineTable->Prologue in preprocessDebugInfo()
1808 const DWARFDebugLine::LineTable *LineTable; in printDebugInfo() local
1811 LineTable = Function->getDWARFLineTable(); in printDebugInfo()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/DWARFLinker/
H A DDWARFLinkerDeclContext.h164 const DWARFDebugLine::LineTable &LineTable);
/llvm-project-15.0.7/llvm/utils/gn/secondary/llvm/lib/DebugInfo/GSYM/
H A DBUILD.gn16 "LineTable.cpp",

123