Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/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.cpp570 for (const DWARFYAML::LineTable &LineTable : DI.DebugLines) { in emitDebugLine() local
576 writeInteger(LineTable.MinInstLength, BufferOS, DI.IsLittleEndian); in emitDebugLine()
578 if (LineTable.Version >= 4) in emitDebugLine()
579 writeInteger(LineTable.MaxOpsPerInst, BufferOS, DI.IsLittleEndian); in emitDebugLine()
580 writeInteger(LineTable.DefaultIsStmt, BufferOS, DI.IsLittleEndian); in emitDebugLine()
581 writeInteger(LineTable.LineBase, BufferOS, DI.IsLittleEndian); in emitDebugLine()
582 writeInteger(LineTable.LineRange, BufferOS, DI.IsLittleEndian); in emitDebugLine()
585 LineTable.StandardOpcodeLengths.getValueOr( in emitDebugLine()
586 getStandardOpcodeLengths(LineTable.Version, LineTable.OpcodeBase)); in emitDebugLine()
587 uint8_t OpcodeBase = LineTable.OpcodeBase in emitDebugLine()
[all …]
/netbsd-src/external/apache2/llvm/dist/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.cpp63 using DWARFLineTable = DWARFDebugLine::LineTable;
928 const DWARFDebugLine::LineTable *
930 Expected<const DWARFDebugLine::LineTable *> ExpectedLineTable = in getLineTableForUnit()
939 Expected<const DWARFDebugLine::LineTable *> DWARFContext::getLineTableForUnit( in getLineTableForUnit()
1239 if (const DWARFLineTable *LineTable = getLineTableForUnit(CU)) { in getLineInfoForAddress() local
1240 LineTable->getFileLineInfoForAddress( in getLineInfoForAddress()
1275 const DWARFLineTable *LineTable = getLineTableForUnit(CU); in getLineInfoForAddressRange() local
1279 if (!LineTable->lookupAddressRange({Address.Address, Address.SectionIndex}, in getLineInfoForAddressRange()
1286 const DWARFDebugLine::Row &Row = LineTable->Rows[RowIndex]; in getLineInfoForAddressRange()
1288 LineTable->getFileNameByIndex(Row.File, CU->getCompilationDir(), in getLineInfoForAddressRange()
[all …]
H A DDWARFVerifier.cpp727 auto LineTable = DCtx.getLineTableForUnit(CU.get()); in verifyDebugLineStmtOffsets() local
729 if (!LineTable) { in verifyDebugLineStmtOffsets()
738 assert(LineTable == nullptr); in verifyDebugLineStmtOffsets()
762 auto LineTable = DCtx.getLineTableForUnit(CU.get()); in verifyDebugLineRows() local
765 if (!LineTable) in verifyDebugLineRows()
769 uint32_t MaxDirIndex = LineTable->Prologue.IncludeDirectories.size(); in verifyDebugLineRows()
772 for (const auto &FileName : LineTable->Prologue.FileNames) { in verifyDebugLineRows()
786 const bool HasFullPath = LineTable->getFileNameByIndex( in verifyDebugLineRows()
808 for (const auto &Row : LineTable->Rows) { in verifyDebugLineRows()
820 LineTable->Rows[RowIndex - 1].dump(OS); in verifyDebugLineRows()
[all …]
/netbsd-src/external/apache2/llvm/dist/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);
H A DFunctionInfo.h92 llvm::Optional<LineTable> OptLineTable;
H A DGsymReader.h174 void dump(raw_ostream &OS, const LineTable &LT);
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFDebugLine.h233 struct LineTable { struct
234 LineTable();
309 const LineTable *getLineTable(uint64_t Offset) const; argument
310 Expected<const LineTable *>
334 LineTable parseNext(function_ref<void(Error)> RecoverableErrorHandler,
371 ParsingState(struct LineTable *LT, uint64_t TableOffset,
402 struct LineTable *LineTable; member
414 using LineTableMapTy = std::map<uint64_t, LineTable>;
H A DDWARFContext.h321 const DWARFDebugLine::LineTable *getLineTableForUnit(DWARFUnit *U);
325 Expected<const DWARFDebugLine::LineTable *>
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/GSYM/
H A DDwarfTransformer.cpp28 const DWARFDebugLine::LineTable *LineTable; member
35 LineTable = DICtx.getLineTableForUnit(CU); in CUInfo()
38 if (LineTable) in CUInfo()
39 FileCache.assign(LineTable->Prologue.FileNames.size() + 1, UINT32_MAX); in CUInfo()
67 if (!LineTable) in DWARFToGSYMFileIndex()
74 if (LineTable->getFileNameByIndex( in DWARFToGSYMFileIndex()
260 if (!CUI.LineTable->lookupAddressRange(SecAddress, RangeSize, RowVector)) { in convertFunctionLineTable()
269 FI.OptLineTable = LineTable(); in convertFunctionLineTable()
278 FI.OptLineTable = LineTable(); in convertFunctionLineTable()
282 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()
203 if (auto ExpectedLE = LineTable::lookup(InfoData, FuncAddr, Addr)) in lookup()
H A DCMakeLists.txt9 LineTable.cpp
/netbsd-src/sys/external/bsd/acpica/dist/tools/acpisrc/
H A Dasfile.c314 ACPI_IDENTIFIER_TABLE *LineTable; in AsConvertFile() local
326 LineTable = ConversionTable->SourceLineTable; in AsConvertFile()
337 LineTable = ConversionTable->HeaderLineTable; in AsConvertFile()
348 LineTable = ConversionTable->PatchLineTable; in AsConvertFile()
392 if (LineTable) in AsConvertFile()
394 for (i = 0; LineTable[i].Identifier; i++) in AsConvertFile()
396 AsRemoveLine (FileBuffer, LineTable[i].Identifier); in AsConvertFile()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DWARFLinker/
H A DDWARFLinkerDeclContext.cpp193 const DWARFDebugLine::LineTable &LineTable) { in getResolvedPath() argument
199 bool FoundFileName = LineTable.getFileNameByIndex( in getResolvedPath()
H A DDWARFLinker.cpp1656 DWARFDebugLine::LineTable LineTable; in patchLineTableForUnit() local
1665 LineTable.parse(LineExtractor, &StmtOffset, OrigDwarf, in patchLineTableForUnit()
1671 NewRows.reserve(LineTable.Rows.size()); in patchLineTableForUnit()
1690 for (auto &Row : LineTable.Rows) { in patchLineTableForUnit()
1760 if (LineTable.Prologue.getVersion() < 2 || in patchLineTableForUnit()
1761 LineTable.Prologue.getVersion() > 5 || in patchLineTableForUnit()
1762 LineTable.Prologue.DefaultIsStmt != DWARF2_LINE_DEFAULT_IS_STMT || in patchLineTableForUnit()
1763 LineTable.Prologue.OpcodeBase > 13) in patchLineTableForUnit()
1766 uint32_t PrologueEnd = *StmtList + 10 + LineTable.Prologue.PrologueLength; in patchLineTableForUnit()
1769 if (LineTable.Prologue.getVersion() == 5) in patchLineTableForUnit()
[all …]
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/DWARFLinker/
H A DDWARFLinkerDeclContext.h158 const DWARFDebugLine::LineTable &LineTable);
/netbsd-src/external/apache2/llvm/dist/clang/lib/Basic/
H A DSourceManager.cpp296 LineTable->AddLineNote(LocInfo.first, LocInfo.second, LineNo, FilenameID, in AddLineNote()
301 if (!LineTable) in getLineTable()
302 LineTable.reset(new LineTableInfo()); in getLineTable()
303 return *LineTable; in getLineTable()
345 if (LineTable) in clearIDTables()
346 LineTable->clear(); in clearIDTables()
1484 assert(LineTable && "Can't have linetable entries without a LineTable!"); in getFileCharacteristic()
1487 LineTable->FindNearestLineEntry(LocInfo.first, LocInfo.second); in getFileCharacteristic()
1553 assert(LineTable && "Can't have linetable entries without a LineTable!"); in getPresumedLoc()
1556 LineTable->FindNearestLineEntry(LocInfo.first, LocInfo.second)) { in getPresumedLoc()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/utils/gn/secondary/llvm/lib/DebugInfo/GSYM/
H A DBUILD.gn15 "LineTable.cpp",
/netbsd-src/external/apache2/llvm/lib/libLLVMDebugInfoGSYM/
H A DMakefile16 LineTable.cpp \
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-cfi-verify/lib/
H A DFileAnalysis.cpp439 const auto &LineTable = DWARF->getLineTableForUnit(Unit.get()); in parseCodeSections() local
440 if (LineTable && !LineTable->Rows.empty()) { in parseCodeSections()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/PDB/Native/
H A DSymbolCache.cpp445 auto LineTableIter = LineTable.find(Modi); in findLineTable()
446 if (LineTableIter != LineTable.end()) in findLineTable()
449 std::vector<LineTableEntry> &ModuleLineTable = LineTable[Modi]; in findLineTable()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/
H A DMCContext.cpp877 const MCDwarfLineTable &LineTable = getMCDwarfLineTable(CUID); in isValidDwarfFileNumber() local
880 if (FileNumber >= LineTable.getMCDwarfFiles().size()) in isValidDwarfFileNumber()
883 return !LineTable.getMCDwarfFiles()[FileNumber].Name.empty(); in isValidDwarfFileNumber()

12