Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/
DDWARFYAML.cpp148 void MappingTraits<DWARFYAML::LineTable>::mapping( in mapping()
149 IO &IO, DWARFYAML::LineTable &LineTable) { in mapping() argument
150 IO.mapRequired("Length", LineTable.Length); in mapping()
151 IO.mapRequired("Version", LineTable.Version); in mapping()
152 IO.mapRequired("PrologueLength", LineTable.PrologueLength); in mapping()
153 IO.mapRequired("MinInstLength", LineTable.MinInstLength); in mapping()
154 if(LineTable.Version >= 4) in mapping()
155 IO.mapRequired("MaxOpsPerInst", LineTable.MaxOpsPerInst); in mapping()
156 IO.mapRequired("DefaultIsStmt", LineTable.DefaultIsStmt); in mapping()
157 IO.mapRequired("LineBase", LineTable.LineBase); in mapping()
[all …]
DDWARFEmitter.cpp213 for (const auto &LineTable : DI.DebugLines) { in EmitDebugLine() local
214 writeInitialLength(LineTable.Length, OS, DI.IsLittleEndian); in EmitDebugLine()
215 uint64_t SizeOfPrologueLength = LineTable.Length.isDWARF64() ? 8 : 4; in EmitDebugLine()
216 writeInteger((uint16_t)LineTable.Version, OS, DI.IsLittleEndian); in EmitDebugLine()
217 writeVariableSizedInteger(LineTable.PrologueLength, SizeOfPrologueLength, in EmitDebugLine()
219 writeInteger((uint8_t)LineTable.MinInstLength, OS, DI.IsLittleEndian); in EmitDebugLine()
220 if (LineTable.Version >= 4) in EmitDebugLine()
221 writeInteger((uint8_t)LineTable.MaxOpsPerInst, OS, DI.IsLittleEndian); in EmitDebugLine()
222 writeInteger((uint8_t)LineTable.DefaultIsStmt, OS, DI.IsLittleEndian); in EmitDebugLine()
223 writeInteger((uint8_t)LineTable.LineBase, OS, DI.IsLittleEndian); in EmitDebugLine()
[all …]
/external/llvm/lib/DebugInfo/DWARF/
DDWARFDebugLine.cpp173 DWARFDebugLine::LineTable::LineTable() { clear(); } in LineTable() function in DWARFDebugLine::LineTable
175 void DWARFDebugLine::LineTable::dump(raw_ostream &OS) const { in dump()
189 void DWARFDebugLine::LineTable::clear() { in clear()
195 DWARFDebugLine::ParsingState::ParsingState(struct LineTable *LT) in ParsingState()
196 : LineTable(LT), RowNumber(0) { in ParsingState()
201 Row.reset(LineTable->Prologue.DefaultIsStmt); in resetRowAndSequence()
213 LineTable->appendRow(Row); in appendRowToMatrix()
219 LineTable->appendSequence(Sequence); in appendRowToMatrix()
225 const DWARFDebugLine::LineTable *
233 const DWARFDebugLine::LineTable *
[all …]
DDWARFContext.cpp31 typedef DWARFDebugLine::LineTable DWARFLineTable;
164 DWARFDebugLine::LineTable LineTable; in dump() local
165 LineTable.parse(lineData, &getLineSection().Relocs, &stmtOffset); in dump()
166 LineTable.dump(OS); in dump()
186 DWARFDebugLine::LineTable LineTable; in dump() local
187 while (LineTable.Prologue.parse(lineData, &stmtOffset)) { in dump()
188 LineTable.dump(OS); in dump()
189 LineTable.clear(); in dump()
484 if (const DWARFLineTable *LineTable = getLineTableForUnit(CU)) in getLineInfoForAddress() local
485 LineTable->getFileLineInfoForAddress(Address, CU->getCompilationDir(), in getLineInfoForAddress()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/GSYM/
DLineTable.h118 class LineTable {
154 static llvm::Expected<LineTable> decode(DataExtractor &Data,
192 bool operator==(const LineTable &RHS) const {
195 bool operator!=(const LineTable &RHS) const {
198 bool operator<(const LineTable &RHS) const {
210 raw_ostream &operator<<(raw_ostream &OS, const gsym::LineTable &LT);
DFunctionInfo.h91 llvm::Optional<LineTable> OptLineTable;
/external/llvm/include/llvm/DebugInfo/DWARF/
DDWARFDebugLine.h171 struct LineTable { struct
172 LineTable();
223 const LineTable *getLineTable(uint32_t offset) const; argument
224 const LineTable *getOrParseLineTable(DataExtractor debug_line_data,
229 ParsingState(struct LineTable *LT);
235 struct LineTable *LineTable; member
243 typedef std::map<uint32_t, LineTable> LineTableMapTy;
DDWARFContext.h179 const DWARFDebugLine::LineTable *getLineTableForUnit(DWARFUnit *cu);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/DWARF/
DDWARFDebugLine.h238 struct LineTable { struct
239 LineTable();
310 const LineTable *getLineTable(uint64_t Offset) const; argument
311 Expected<const LineTable *>
335 LineTable
371 ParsingState(struct LineTable *LT);
377 struct LineTable *LineTable; member
382 using LineTableMapTy = std::map<uint64_t, LineTable>;
DDWARFContext.h295 const DWARFDebugLine::LineTable *getLineTableForUnit(DWARFUnit *U);
299 Expected<const DWARFDebugLine::LineTable *>
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/
DDWARFDebugLine.cpp425 DWARFDebugLine::LineTable::LineTable() { clear(); } in LineTable() function in DWARFDebugLine::LineTable
427 void DWARFDebugLine::LineTable::dump(raw_ostream &OS, in dump()
444 void DWARFDebugLine::LineTable::clear() { in clear()
450 DWARFDebugLine::ParsingState::ParsingState(struct LineTable *LT) in ParsingState()
451 : LineTable(LT) { in ParsingState()
456 Row.reset(LineTable->Prologue.DefaultIsStmt); in resetRowAndSequence()
461 unsigned RowNumber = LineTable->Rows.size(); in appendRowToMatrix()
468 LineTable->appendRow(Row); in appendRowToMatrix()
475 LineTable->appendSequence(Sequence); in appendRowToMatrix()
481 const DWARFDebugLine::LineTable *
[all …]
DDWARFContext.cpp64 using DWARFLineTable = DWARFDebugLine::LineTable;
473 DWARFDebugLine::LineTable LineTable = in dump() local
475 LineTable.dump(OS, DumpOpts); in dump()
865 const DWARFDebugLine::LineTable *
867 Expected<const DWARFDebugLine::LineTable *> ExpectedLineTable = in getLineTableForUnit()
876 Expected<const DWARFDebugLine::LineTable *> DWARFContext::getLineTableForUnit( in getLineTableForUnit()
1170 if (const DWARFLineTable *LineTable = getLineTableForUnit(CU)) { in getLineInfoForAddress() local
1171 LineTable->getFileLineInfoForAddress( in getLineInfoForAddress()
1201 const DWARFLineTable *LineTable = getLineTableForUnit(CU); in getLineInfoForAddressRange() local
1205 if (!LineTable->lookupAddressRange({Address.Address, Address.SectionIndex}, in getLineInfoForAddressRange()
[all …]
DDWARFVerifier.cpp670 auto LineTable = DCtx.getLineTableForUnit(CU.get()); in verifyDebugLineStmtOffsets() local
672 if (!LineTable) { in verifyDebugLineStmtOffsets()
681 assert(LineTable == nullptr); in verifyDebugLineStmtOffsets()
705 auto LineTable = DCtx.getLineTableForUnit(CU.get()); in verifyDebugLineRows() local
708 if (!LineTable) in verifyDebugLineRows()
712 uint32_t MaxDirIndex = LineTable->Prologue.IncludeDirectories.size(); in verifyDebugLineRows()
715 for (const auto &FileName : LineTable->Prologue.FileNames) { in verifyDebugLineRows()
729 const bool HasFullPath = LineTable->getFileNameByIndex( in verifyDebugLineRows()
751 for (const auto &Row : LineTable->Rows) { in verifyDebugLineRows()
763 LineTable->Rows[RowIndex - 1].dump(OS); in verifyDebugLineRows()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/GSYM/
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 <<()
DFunctionInfo.cpp73 if (Expected<LineTable> LT = LineTable::decode(InfoData, BaseAddr)) in decode()
200 if (auto ExpectedLE = LineTable::lookup(InfoData, FuncAddr, Addr)) in lookup()
DCMakeLists.txt8 LineTable.cpp
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ObjectYAML/
DDWARFYAML.h127 struct LineTable { struct
156 std::vector<LineTable> DebugLines; argument
173 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::DWARFYAML::LineTable) in LLVM_YAML_IS_SEQUENCE_VECTOR()
227 template <> struct MappingTraits<DWARFYAML::LineTable> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
228 static void mapping(IO &IO, DWARFYAML::LineTable &LineTable); in LLVM_YAML_IS_SEQUENCE_VECTOR()
/external/bcc/src/cc/
Dbcc_debug.cc59 using DWARFLineTable = DWARFDebugLine::LineTable;
189 const DWARFLineTable *LineTable = DwarfCtx->getLineTableForUnit(CU); in dump() local
190 if (!LineTable) { in dump()
234 LineTable->getFileLineInfoForAddress( in dump()
/external/clang/lib/Basic/
DSourceManager.cpp347 LineTable->AddLineNote(LocInfo.first, LocInfo.second, LineNo, FilenameID, in AddLineNote()
352 if (!LineTable) in getLineTable()
353 LineTable = new LineTableInfo(); in getLineTable()
354 return *LineTable; in getLineTable()
365 ExternalSLocEntries(nullptr), LineTable(nullptr), NumLinearScans(0), in SourceManager()
372 delete LineTable; in ~SourceManager()
403 if (LineTable) in clearIDTables()
404 LineTable->clear(); in clearIDTables()
1426 assert(LineTable && "Can't have linetable entries without a LineTable!"); in getFileCharacteristic()
1429 LineTable->FindNearestLineEntry(LocInfo.first, LocInfo.second); in getFileCharacteristic()
[all …]
/external/llvm/tools/dsymutil/
DDwarfLinker.cpp2992 DWARFDebugLine::LineTable LineTable; in patchLineTableForUnit() local
2997 LineTable.parse(LineExtractor, &OrigDwarf.getLineSection().Relocs, in patchLineTableForUnit()
3002 NewRows.reserve(LineTable.Rows.size()); in patchLineTableForUnit()
3021 for (auto &Row : LineTable.Rows) { in patchLineTableForUnit()
3087 uint32_t PrologueEnd = StmtList + 10 + LineTable.Prologue.PrologueLength; in patchLineTableForUnit()
3092 if (LineTable.Prologue.Version != 2 || in patchLineTableForUnit()
3093 LineTable.Prologue.DefaultIsStmt != DWARF2_LINE_DEFAULT_IS_STMT || in patchLineTableForUnit()
3094 LineTable.Prologue.OpcodeBase > 13) in patchLineTableForUnit()
3098 Params.DWARF2LineOpcodeBase = LineTable.Prologue.OpcodeBase; in patchLineTableForUnit()
3099 Params.DWARF2LineBase = LineTable.Prologue.LineBase; in patchLineTableForUnit()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCContext.cpp664 const MCDwarfLineTable &LineTable = getMCDwarfLineTable(CUID); in isValidDwarfFileNumber() local
667 if (FileNumber >= LineTable.getMCDwarfFiles().size()) in isValidDwarfFileNumber()
670 return !LineTable.getMCDwarfFiles()[FileNumber].Name.empty(); in isValidDwarfFileNumber()
/external/oj-libjdwp/src/share/classes/com/sun/tools/jdi/
DConcreteMethodImpl.java356 JDWP.Method.LineTable lntab = null; in getBaseLocations()
358 lntab = JDWP.Method.LineTable.process(vm, declaringType, ref); in getBaseLocations()
/external/clang/include/clang/Basic/
DSourceManager.h647 LineTableInfo *LineTable; variable
1401 bool hasLineTable() const { return LineTable != nullptr; } in hasLineTable()
/external/oj-libjdwp/make/data/jdwp/
Djdwp.spec1333 (Command LineTable=1
/external/clang/lib/Serialization/
DASTWriter.cpp2064 LineTableInfo &LineTable = SourceMgr.getLineTable(); in WriteSourceManagerBlock() local
2070 for (const auto &L : LineTable) { in WriteSourceManagerBlock()
2076 AddPath(LineTable.getFilename(LE.FilenameID), Record); in WriteSourceManagerBlock()
2082 for (const auto &L : LineTable) { in WriteSourceManagerBlock()

12