Home
last modified time | relevance | path

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

123

/openbsd-src/gnu/llvm/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.cpp162 LineTable *CompileUnit::GetLineTable() { in GetLineTable()
173 void CompileUnit::SetLineTable(LineTable *line_table) { in SetLineTable()
245 LineTable *line_table = GetLineTable(); in FindLineEntry()
291 LineTable *line_table = sc.comp_unit->GetLineTable(); in ResolveSymbolContext()
/openbsd-src/gnu/llvm/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;
/openbsd-src/gnu/llvm/llvm/lib/ObjectYAML/
H A DDWARFYAML.cpp235 void MappingTraits<DWARFYAML::LineTable>::mapping( in mapping()
236 IO &IO, DWARFYAML::LineTable &LineTable) { in mapping() argument
237 IO.mapOptional("Format", LineTable.Format, dwarf::DWARF32); in mapping()
238 IO.mapOptional("Length", LineTable.Length); in mapping()
239 IO.mapRequired("Version", LineTable.Version); in mapping()
240 IO.mapOptional("PrologueLength", LineTable.PrologueLength); in mapping()
241 IO.mapRequired("MinInstLength", LineTable.MinInstLength); in mapping()
242 if(LineTable.Version >= 4) in mapping()
243 IO.mapRequired("MaxOpsPerInst", LineTable.MaxOpsPerInst); in mapping()
244 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 …]
/openbsd-src/gnu/llvm/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);
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/DWARF/
H A DDWARFDebugLine.cpp514 DWARFDebugLine::LineTable::LineTable() { clear(); } in LineTable() function in DWARFDebugLine::LineTable
516 void DWARFDebugLine::LineTable::dump(raw_ostream &OS, in dump()
533 void DWARFDebugLine::LineTable::clear() { in clear()
540 struct LineTable *LT, uint64_t TableOffset, in ParsingState()
542 : LineTable(LT), LineTableOffset(TableOffset), ErrorHandler(ErrorHandler) { in ParsingState()
547 Row.reset(LineTable->Prologue.DefaultIsStmt); in resetRowAndSequence()
552 unsigned RowNumber = LineTable->Rows.size(); in appendRowToMatrix()
559 LineTable->appendRow(Row); in appendRowToMatrix()
566 LineTable->appendSequence(Sequence); in appendRowToMatrix()
572 const DWARFDebugLine::LineTable *
[all …]
H A DDWARFContext.cpp68 using DWARFLineTable = DWARFDebugLine::LineTable;
1035 const DWARFDebugLine::LineTable *
1037 Expected<const DWARFDebugLine::LineTable *> ExpectedLineTable = in getLineTableForUnit()
1046 Expected<const DWARFDebugLine::LineTable *> DWARFContext::getLineTableForUnit( in getLineTableForUnit()
1321 if (const DWARFLineTable *LineTable = getLineTableForUnit(CU)) { in getLineInfoForAddress() local
1322 LineTable->getFileLineInfoForAddress( in getLineInfoForAddress()
1373 const DWARFLineTable *LineTable = getLineTableForUnit(CU); in getLineInfoForAddressRange() local
1377 if (!LineTable->lookupAddressRange({Address.Address, Address.SectionIndex}, in getLineInfoForAddressRange()
1384 const DWARFDebugLine::Row &Row = LineTable->Rows[RowIndex]; in getLineInfoForAddressRange()
1386 LineTable->getFileNameByIndex(Row.File, CU->getCompilationDir(), in getLineInfoForAddressRange()
[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()
870 uint32_t MaxDirIndex = LineTable->Prologue.IncludeDirectories.size(); in verifyDebugLineRows()
873 for (const auto &FileName : LineTable->Prologue.FileNames) { 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()
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFDebugLine.h225 struct LineTable { struct
226 LineTable();
306 const LineTable *getLineTable(uint64_t Offset) const; argument
307 Expected<const LineTable *>
332 LineTable parseNext(function_ref<void(Error)> RecoverableErrorHandler,
369 ParsingState(struct LineTable *LT, uint64_t TableOffset,
400 struct LineTable *LineTable; member
412 using LineTableMapTy = std::map<uint64_t, LineTable>;
/openbsd-src/gnu/llvm/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()
69 if (!LineTable) in DWARFToGSYMFileIndex()
76 if (LineTable->getFileNameByIndex( in DWARFToGSYMFileIndex()
261 if (!CUI.LineTable->lookupAddressRange(SecAddress, RangeSize, RowVector)) { in convertFunctionLineTable()
271 FI.OptLineTable = LineTable(); in convertFunctionLineTable()
277 FI.OptLineTable = LineTable(); in convertFunctionLineTable()
281 const DWARFDebugLine::Row &Row = CUI.LineTable->Rows[RowIndex]; 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.cpp76 if (Expected<LineTable> LT = LineTable::decode(InfoData, BaseAddr)) in decode()
202 if (auto ExpectedLE = LineTable::lookup(InfoData, FuncAddr, Addr)) in lookup()
H A DCMakeLists.txt9 LineTable.cpp
/openbsd-src/gnu/llvm/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFCompileUnit.cpp82 if (LineTable *line_table = sc.comp_unit->GetLineTable()) { in BuildAddressRangeTable()
83 LineTable::FileAddressRanges file_ranges; in BuildAddressRangeTable()
88 const LineTable::FileAddressRanges::Entry &range = in BuildAddressRangeTable()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/lld/include/lld/Common/
H A DDWARF.h38 std::vector<const llvm::DWARFDebugLine::LineTable *> lineTables;
40 const llvm::DWARFDebugLine::LineTable *lt;
/openbsd-src/gnu/llvm/llvm/lib/DWARFLinker/
H A DDWARFLinkerDeclContext.cpp194 const DWARFDebugLine::LineTable &LineTable) { in getResolvedPath() argument
200 bool FoundFileName = LineTable.getFileNameByIndex( in getResolvedPath()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/include/llvm/DWARFLinker/
H A DDWARFLinkerDeclContext.h164 const DWARFDebugLine::LineTable &LineTable);
/openbsd-src/gnu/llvm/lldb/source/API/
H A DSBCompileUnit.cpp56 LineTable *line_table = m_opaque_ptr->GetLineTable(); in GetNumLineEntries()
69 LineTable *line_table = m_opaque_ptr->GetLineTable(); in GetLineEntryAtIndex()
/openbsd-src/gnu/llvm/llvm/utils/gn/secondary/llvm/lib/DebugInfo/GSYM/
H A DBUILD.gn17 "LineTable.cpp",
/openbsd-src/gnu/llvm/lldb/source/Plugins/SymbolFile/NativePDB/
H A DSymbolFileNativePDB.h173 bool operator()(const lldb_private::LineTable::Entry &lhs, in operator()
174 const lldb_private::LineTable::Entry &rhs) const { in operator()
187 std::vector<lldb_private::LineTable::Entry> line_entries;
/openbsd-src/gnu/usr.bin/clang/liblldbSymbol/
H A DMakefile22 LineTable.cpp \

123