Home
last modified time | relevance | path

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

123

/freebsd-src/contrib/llvm-project/lldb/source/Symbol/
H A DLineTable.cpp1 //===-- 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...]
H A DCompileUnit.cpp11 #include "lldb/Symbol/LineTable.h"
166 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-src/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DDWARFLinkerTypeUnit.cpp29 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.Prologue.IncludeDirectories.size() < UINT32_MAX); in addFileNameIntoLinetable()
[all …]
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 in emitLineTableRows()
[all...]
H A DDWARFLinkerTypeUnit.h116 DWARFDebugLine::LineTable LineTable; variable
/freebsd-src/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.h248 LineTable *GetLineTable();
348 void SetLineTable(LineTable *line_table);
430 std::unique_ptr<LineTable> m_line_table_up;
/freebsd-src/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()
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);
268 IO.mapRequired("MinInstLength", LineTable.MinInstLength); in mapping()
269 if(LineTable.Version >= 4) in mapping()
270 IO.mapRequired("MaxOpsPerInst", LineTable in mapping()
234 mapping(IO & IO,DWARFYAML::LineTable & LineTable) mapping() argument
[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 in emitDebugLine()
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFDebugLine.cpp537 DWARFDebugLine::LineTable::LineTable() { clear(); } in dump()
539 void DWARFDebugLine::LineTable::dump(raw_ostream &OS,
556 void DWARFDebugLine::LineTable::clear() { in resetRowAndSequence()
563 struct LineTable *LT, uint64_t TableOffset, in appendRowToMatrix()
565 : LineTable(LT), LineTableOffset(TableOffset), ErrorHandler(ErrorHandler) { in appendRowToMatrix()
570 Row.reset(LineTable->Prologue.DefaultIsStmt); in appendRowToMatrix()
575 unsigned RowNumber = LineTable->Rows.size(); in appendRowToMatrix()
582 LineTable->appendRow(Row); in getLineTable()
589 LineTable in getOrParseLineTable()
521 DWARFDebugLine::LineTable::LineTable() { clear(); } LineTable() function in DWARFDebugLine::LineTable
[all...]
H A DDWARFVerifier.cpp943 auto LineTable = DCtx.getLineTableForUnit(CU.get()); in verifyDebugLineRows()
945 if (!LineTable) { in verifyDebugLineRows()
956 assert(LineTable == nullptr); in verifyDebugLineRows()
982 auto LineTable = DCtx.getLineTableForUnit(CU.get()); in handleDebugLine()
985 if (!LineTable) in handleDebugLine()
989 bool isDWARF5 = LineTable->Prologue.getVersion() >= 5;
990 uint32_t MaxDirIndex = LineTable->Prologue.IncludeDirectories.size(); in verifyAppleAccelTable()
994 for (const auto &FileName : LineTable->Prologue.FileNames) { in verifyAppleAccelTable()
1012 const bool HasFullPath = LineTable->getFileNameByIndex( in verifyAppleAccelTable()
1033 if (LineTable in verifyAppleAccelTable()
844 auto LineTable = DCtx.getLineTableForUnit(CU.get()); verifyDebugLineStmtOffsets() local
879 auto LineTable = DCtx.getLineTableForUnit(CU.get()); verifyDebugLineRows() local
[all...]
H A DDWARFContext.cpp69 using DWARFLineTable = DWARFDebugLine::LineTable;
398 Expected<const DWARFDebugLine::LineTable *> in getLineTableForUnit()
677 Expected<const DWARFDebugLine::LineTable *> in getLineTableForUnit()
1489 const DWARFDebugLine::LineTable * in getLineTableForUnit()
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()
1745 LineTable->getFileLineInfoForAddress( in getLineInfoForAddress()
1796 const DWARFLineTable *LineTable = getLineTableForUnit(CU); in getLineInfoForAddressRange()
1800 if (!LineTable in getLineInfoForAddressRange()
1742 if (const DWARFLineTable *LineTable = getLineTableForUnit(CU)) { getLineInfoForAddress() local
1794 const DWARFLineTable *LineTable = getLineTableForUnit(CU); getLineInfoForAddressRange() local
1830 const DWARFLineTable *LineTable = nullptr; getInliningInfoForAddress() local
[all...]
/freebsd-src/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-src/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-src/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DDwarfTransformer.cpp32 const DWARFDebugLine::LineTable *LineTable;
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()
30 const DWARFDebugLine::LineTable *LineTable; global() member
[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()
284 raw_ostream &llvm::gsym::operator<<(raw_ostream &OS, const LineTable &LT) { in operator <<()
/freebsd-src/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFCompileUnit.cpp79 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-src/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-src/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-src/contrib/llvm-project/llvm/include/llvm/DWARFLinker/Classic/
H A DDWARFStreamer.h151 /// Emit .debug_line table entry for specified \p LineTable in getRngListsSectionSize()
152 void emitLineTableForUnit(const DWARFDebugLine::LineTable &LineTable, in getRngListsSectionSize()
268 void emitLineTableRows(const DWARFDebugLine::LineTable &LineTable,
H A DDWARFLinkerDeclContext.h166 const DWARFDebugLine::LineTable &LineTable);
/freebsd-src/contrib/llvm-project/llvm/lib/DWARFLinker/Classic/
H A DDWARFLinkerDeclContext.cpp197 const DWARFDebugLine::LineTable &LineTable) { in getResolvedPath() argument
203 bool FoundFileName = LineTable.getFileNameByIndex( in getResolvedPath()
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()
1043 Params.DWARF2LineOpcodeBase = LineTable.Prologue.OpcodeBase; in emitLineTableRows()
1044 Params.DWARF2LineBase = LineTable in emitLineTableRows()
1040 emitLineTableRows(const DWARFDebugLine::LineTable & LineTable,MCSymbol * LineEndSym,unsigned AddressByteSize) emitLineTableRows() argument
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/Debugging/
H A DDebuggerSupportPlugin.cpp170 DWARFDebugLine::LineTable LineTable; in startSynthesis() local
173 if (auto Err = LineTable.parse(DebugLineData, &Offset, *DWARFCtx, nullptr, in startSynthesis()
183 if (!LineTable.Prologue.FileNames.empty()) in startSynthesis()
184 FileName = *dwarf::toString(LineTable.Prologue.FileNames[0].Name); in startSynthesis()
/freebsd-src/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DDWARFYAML.h161 struct LineTable {
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()
139 struct LineTable { global() struct
153 OpcodesLineTable global() argument

123