Home
last modified time | relevance | path

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

/external/llvm/lib/DebugInfo/
DDWARFContext.cpp97 const DWARFDebugLine::LineTable *
109 if (const DWARFDebugLine::LineTable *lt = Line->getLineTable(stmtOffset)) in getLineTableForCompileUnit()
167 DWARFCompileUnit *CU, const DWARFDebugLine::LineTable *LineTable, in getFileNameForCompileUnit() argument
170 LineTable == 0 || in getFileNameForCompileUnit()
171 !LineTable->getFileNameByIndex(FileIndex, NeedsAbsoluteFilePath, in getFileNameForCompileUnit()
187 DWARFCompileUnit *CU, const DWARFDebugLine::LineTable *LineTable, in getFileLineInfoForCompileUnit() argument
190 if (CU == 0 || LineTable == 0) in getFileLineInfoForCompileUnit()
193 uint32_t RowIndex = LineTable->lookupAddress(Address); in getFileLineInfoForCompileUnit()
197 const DWARFDebugLine::Row &Row = LineTable->Rows[RowIndex]; in getFileLineInfoForCompileUnit()
198 if (!getFileNameForCompileUnit(CU, LineTable, Row.File, in getFileLineInfoForCompileUnit()
[all …]
DDWARFDebugLine.h164 struct LineTable { struct
196 struct State : public Row, public Sequence, public LineTable { argument
232 const LineTable *getLineTable(uint32_t offset) const;
233 const LineTable *getOrParseLineTable(DataExtractor debug_line_data,
237 typedef std::map<uint32_t, LineTable> LineTableMapTy;
DDWARFDebugLine.cpp83 void DWARFDebugLine::LineTable::dump(raw_ostream &OS) const { in dump()
106 LineTable::appendRow(*this); in appendRowToMatrix()
112 LineTable::appendSequence(*this); in appendRowToMatrix()
139 LineTable::dump(OS); in finalize()
142 const DWARFDebugLine::LineTable *
150 const DWARFDebugLine::LineTable *
154 LineTableMap.insert(LineTableMapTy::value_type(offset, LineTable())); in getOrParseLineTable()
473 DWARFDebugLine::LineTable::lookupAddress(uint64_t address) const { in lookupAddress()
519 DWARFDebugLine::LineTable::getFileNameByIndex(uint64_t FileIndex, in getFileNameByIndex()
DDWARFContext.h64 const DWARFDebugLine::LineTable *
/external/clang/lib/Basic/
DSourceManager.cpp289 if (LineTable == 0) in getLineTableFilenameID()
290 LineTable = new LineTableInfo(); in getLineTableFilenameID()
291 return LineTable->getLineTableFilenameID(Name); in getLineTableFilenameID()
312 if (LineTable == 0) in AddLineNote()
313 LineTable = new LineTableInfo(); in AddLineNote()
314 LineTable->AddLineNote(LocInfo.first, LocInfo.second, LineNo, FilenameID); in AddLineNote()
342 if (LineTable == 0) in AddLineNote()
343 LineTable = new LineTableInfo(); in AddLineNote()
359 LineTable->AddLineNote(LocInfo.first, LocInfo.second, LineNo, FilenameID, in AddLineNote()
364 if (LineTable == 0) in getLineTable()
[all …]
/external/clang/include/clang/Basic/
DSourceManager.h617 LineTableInfo *LineTable; variable
1253 bool hasLineTable() const { return LineTable != 0; } in hasLineTable()
/external/clang/lib/Serialization/
DASTWriter.cpp1591 LineTableInfo &LineTable = SourceMgr.getLineTable(); in WriteSourceManagerBlock() local
1595 Record.push_back(LineTable.getNumFilenames()); in WriteSourceManagerBlock()
1596 for (unsigned I = 0, N = LineTable.getNumFilenames(); I != N; ++I) { in WriteSourceManagerBlock()
1598 const char *Filename = LineTable.getFilename(I); in WriteSourceManagerBlock()
1607 for (LineTableInfo::iterator L = LineTable.begin(), LEnd = LineTable.end(); in WriteSourceManagerBlock()
DASTReader.cpp802 LineTableInfo &LineTable = SourceMgr.getLineTable(); in ParseLineTable() local
812 FileIDs[I] = LineTable.getLineTableFilenameID(Filename); in ParseLineTable()
838 LineTable.AddEntry(FileID::get(FID), Entries); in ParseLineTable()