Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/DebugInfo/DWARF/
DDWARFDebugLineTest.cpp70 LineTable &LT = Gen->addLineTable(DWARF32); in setupParser()
71 LT.addExtendedOpcode(9, DW_LNE_set_address, {{0xadd4e55, LineTable::Quad}}); in setupParser()
76 LineTable &LT2 = Gen->addLineTable(DWARF64); in setupParser()
78 {{0x11223344, LineTable::Quad}}); in setupParser()
214 LineTable &LT = Gen->addLineTable(); in TEST_F()
215 LT.setCustomPrologue({{0, LineTable::Byte}}); in TEST_F()
230 LineTable &LT = Gen->addLineTable(Format); in TEST_P()
231 LT.addExtendedOpcode(9, DW_LNE_set_address, {{0xadd4e55, LineTable::Quad}}); in TEST_P()
236 LineTable &LT2 = Gen->addLineTable(Format); in TEST_P()
237 LT2.addExtendedOpcode(9, DW_LNE_set_address, {{0x11223344, LineTable::Quad}}); in TEST_P()
[all …]
DDwarfGenerator.cpp150 DWARFDebugLine::Prologue dwarfgen::LineTable::createBasicPrologue() const { in createBasicPrologue()
190 void dwarfgen::LineTable::setPrologue(DWARFDebugLine::Prologue NewPrologue) { in setPrologue()
195 void dwarfgen::LineTable::setCustomPrologue( in setCustomPrologue()
201 void dwarfgen::LineTable::addByte(uint8_t Value) { in addByte()
205 void dwarfgen::LineTable::addStandardOpcode(uint8_t Opcode, in addStandardOpcode()
211 void dwarfgen::LineTable::addExtendedOpcode(uint64_t Length, uint8_t Opcode, in addExtendedOpcode()
219 void dwarfgen::LineTable::generate(MCContext &MC, AsmPrinter &Asm) const { in generate()
236 void dwarfgen::LineTable::writeData(ArrayRef<ValueAndLength> Data, in writeData()
257 MCSymbol *dwarfgen::LineTable::writeDefaultPrologue(AsmPrinter &Asm) const { in writeDefaultPrologue()
285 void dwarfgen::LineTable::writePrologue(AsmPrinter &Asm) const { in writePrologue()
[all …]
DDwarfGenerator.h170 class LineTable {
179 LineTable(uint16_t Version, dwarf::DwarfFormat Format, uint8_t AddrSize,
253 std::vector<std::unique_ptr<LineTable>> LineTables;
301 LineTable &
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ObjectYAML/
DDWARFYAML.cpp149 void MappingTraits<DWARFYAML::LineTable>::mapping( in mapping()
150 IO &IO, DWARFYAML::LineTable &LineTable) { in mapping() argument
151 IO.mapRequired("Length", LineTable.Length); in mapping()
152 IO.mapRequired("Version", LineTable.Version); in mapping()
153 IO.mapRequired("PrologueLength", LineTable.PrologueLength); in mapping()
154 IO.mapRequired("MinInstLength", LineTable.MinInstLength); in mapping()
155 if(LineTable.Version >= 4) in mapping()
156 IO.mapRequired("MaxOpsPerInst", LineTable.MaxOpsPerInst); in mapping()
157 IO.mapRequired("DefaultIsStmt", LineTable.DefaultIsStmt); in mapping()
158 IO.mapRequired("LineBase", LineTable.LineBase); in mapping()
[all …]
DDWARFEmitter.cpp214 for (const auto &LineTable : DI.DebugLines) { in EmitDebugLine() local
215 writeInitialLength(LineTable.Length, OS, DI.IsLittleEndian); in EmitDebugLine()
216 uint64_t SizeOfPrologueLength = LineTable.Length.isDWARF64() ? 8 : 4; in EmitDebugLine()
217 writeInteger((uint16_t)LineTable.Version, OS, DI.IsLittleEndian); in EmitDebugLine()
218 writeVariableSizedInteger(LineTable.PrologueLength, SizeOfPrologueLength, in EmitDebugLine()
220 writeInteger((uint8_t)LineTable.MinInstLength, OS, DI.IsLittleEndian); in EmitDebugLine()
221 if (LineTable.Version >= 4) in EmitDebugLine()
222 writeInteger((uint8_t)LineTable.MaxOpsPerInst, OS, DI.IsLittleEndian); in EmitDebugLine()
223 writeInteger((uint8_t)LineTable.DefaultIsStmt, OS, DI.IsLittleEndian); in EmitDebugLine()
224 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/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;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/DWARF/
DDWARFDebugLine.h213 struct LineTable { struct
214 LineTable();
272 const LineTable *getLineTable(uint32_t Offset) const; argument
273 Expected<const LineTable *> getOrParseLineTable(
298 LineTable
339 ParsingState(struct LineTable *LT);
345 struct LineTable *LineTable; member
353 using LineTableMapTy = std::map<uint32_t, LineTable>;
DDWARFContext.h266 const DWARFDebugLine::LineTable *getLineTableForUnit(DWARFUnit *U);
270 Expected<const DWARFDebugLine::LineTable *>
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/DWARF/
DDWARFDebugLine.cpp410 DWARFDebugLine::LineTable::LineTable() { clear(); } in LineTable() function in DWARFDebugLine::LineTable
412 void DWARFDebugLine::LineTable::dump(raw_ostream &OS, in dump()
425 void DWARFDebugLine::LineTable::clear() { in clear()
431 DWARFDebugLine::ParsingState::ParsingState(struct LineTable *LT) in ParsingState()
432 : LineTable(LT) { in ParsingState()
437 Row.reset(LineTable->Prologue.DefaultIsStmt); in resetRowAndSequence()
449 LineTable->appendRow(Row); in appendRowToMatrix()
455 LineTable->appendSequence(Sequence); in appendRowToMatrix()
461 const DWARFDebugLine::LineTable *
469 Expected<const DWARFDebugLine::LineTable *> DWARFDebugLine::getOrParseLineTable( in getOrParseLineTable()
[all …]
DDWARFContext.cpp64 using DWARFLineTable = DWARFDebugLine::LineTable;
422 DWARFDebugLine::LineTable LineTable = Parser.parseNext(); in dump() local
423 LineTable.dump(OS, DumpOpts); in dump()
806 const DWARFDebugLine::LineTable *
808 Expected<const DWARFDebugLine::LineTable *> ExpectedLineTable = in getLineTableForUnit()
817 Expected<const DWARFDebugLine::LineTable *> DWARFContext::getLineTableForUnit( in getLineTableForUnit()
952 if (const DWARFLineTable *LineTable = getLineTableForUnit(CU)) in getLineInfoForAddress() local
953 LineTable->getFileLineInfoForAddress(Address, CU->getCompilationDir(), in getLineInfoForAddress()
982 const DWARFLineTable *LineTable = getLineTableForUnit(CU); in getLineInfoForAddressRange() local
986 if (!LineTable->lookupAddressRange(Address, Size, RowVector)) in getLineInfoForAddressRange()
[all …]
DDWARFVerifier.cpp552 auto LineTable = DCtx.getLineTableForUnit(CU.get()); in verifyDebugLineStmtOffsets() local
554 if (!LineTable) { in verifyDebugLineStmtOffsets()
564 assert(LineTable == nullptr); in verifyDebugLineStmtOffsets()
589 auto LineTable = DCtx.getLineTableForUnit(CU.get()); in verifyDebugLineRows() local
592 if (!LineTable) in verifyDebugLineRows()
596 uint32_t MaxFileIndex = LineTable->Prologue.FileNames.size(); in verifyDebugLineRows()
597 uint32_t MaxDirIndex = LineTable->Prologue.IncludeDirectories.size(); in verifyDebugLineRows()
600 for (const auto &FileName : LineTable->Prologue.FileNames) { in verifyDebugLineRows()
614 const bool HasFullPath = LineTable->getFileNameByIndex( in verifyDebugLineRows()
636 for (const auto &Row : LineTable->Rows) { in verifyDebugLineRows()
[all …]
/external/swiftshader/third_party/LLVM/lib/DebugInfo/
DDWARFDebugLine.h129 struct LineTable { struct
143 struct State : public Row, public LineTable { argument
176 const LineTable *getLineTable(uint32_t offset) const;
177 const LineTable *getOrParseLineTable(DataExtractor debug_line_data,
181 typedef std::map<uint32_t, LineTable> LineTableMapTy;
DDWARFDebugLine.cpp81 void DWARFDebugLine::LineTable::dump(raw_ostream &OS) const { in dump()
98 LineTable::appendRow(*this); in appendRowToMatrix()
105 LineTable::dump(OS); in finalize()
108 const DWARFDebugLine::LineTable *
116 const DWARFDebugLine::LineTable *
120 LineTableMap.insert(LineTableMapTy::value_type(offset, LineTable())); in getOrParseLineTable()
443 DWARFDebugLine::LineTable::lookupAddress(uint64_t address, in lookupAddress()
DDWARFContext.cpp81 const DWARFDebugLine::LineTable *
93 if (const DWARFDebugLine::LineTable *lt = Line->getLineTable(stmtOffset)) in getLineTableForCompileUnit()
151 const DWARFDebugLine::LineTable *lineTable = getLineTableForCompileUnit(cu); in getLineInfoForAddress()
DDWARFContext.h66 const DWARFDebugLine::LineTable *
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ObjectYAML/
DDWARFYAML.h128 struct LineTable { struct
157 std::vector<LineTable> DebugLines; argument
176 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::DWARFYAML::LineTable) in LLVM_YAML_IS_SEQUENCE_VECTOR()
230 template <> struct MappingTraits<DWARFYAML::LineTable> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
231 static void mapping(IO &IO, DWARFYAML::LineTable &LineTable); in LLVM_YAML_IS_SEQUENCE_VECTOR()
/external/bcc/src/cc/
Dbcc_debug.cc49 using DWARFLineTable = DWARFDebugLine::LineTable;
168 const DWARFLineTable *LineTable = DwarfCtx->getLineTableForUnit(CU); in dump() local
169 if (!LineTable) { in dump()
204 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/swiftshader/third_party/llvm-7.0/llvm/tools/dsymutil/
DDwarfLinker.cpp1691 DWARFDebugLine::LineTable LineTable; in patchLineTableForUnit() local
1697 Error Err = LineTable.parse(LineExtractor, &StmtOffset, OrigDwarf, in patchLineTableForUnit()
1703 NewRows.reserve(LineTable.Rows.size()); in patchLineTableForUnit()
1722 for (auto &Row : LineTable.Rows) { in patchLineTableForUnit()
1792 if (LineTable.Prologue.getVersion() < 2 || in patchLineTableForUnit()
1793 LineTable.Prologue.getVersion() > 5 || in patchLineTableForUnit()
1794 LineTable.Prologue.DefaultIsStmt != DWARF2_LINE_DEFAULT_IS_STMT || in patchLineTableForUnit()
1795 LineTable.Prologue.OpcodeBase > 13) in patchLineTableForUnit()
1798 uint32_t PrologueEnd = *StmtList + 10 + LineTable.Prologue.PrologueLength; in patchLineTableForUnit()
1801 if (LineTable.Prologue.getVersion() == 5) in patchLineTableForUnit()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/
DMCContext.cpp586 const MCDwarfLineTable &LineTable = getMCDwarfLineTable(CUID); in isValidDwarfFileNumber() local
588 return getDwarfVersion() >= 5 && LineTable.hasRootFile(); in isValidDwarfFileNumber()
589 if (FileNumber >= LineTable.getMCDwarfFiles().size()) in isValidDwarfFileNumber()
592 return !LineTable.getMCDwarfFiles()[FileNumber].Name.empty(); in isValidDwarfFileNumber()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-cfi-verify/lib/
DFileAnalysis.cpp416 const auto &LineTable = DWARF->getLineTableForUnit(Unit.get()); in parseCodeSections() local
417 if (LineTable && !LineTable->Rows.empty()) { in parseCodeSections()
/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/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()

12