Home
last modified time | relevance | path

Searched refs:LineEntry (Results 1 – 15 of 15) sorted by relevance

/external/clang/include/clang/Basic/
DSourceManagerInternals.h29 struct LineEntry { struct
49 static LineEntry get(unsigned Offs, unsigned Line, int Filename, in get() argument
52 LineEntry E; in get()
63 inline bool operator<(const LineEntry &lhs, const LineEntry &rhs) {
68 inline bool operator<(const LineEntry &E, unsigned Offset) {
72 inline bool operator<(unsigned Offset, const LineEntry &E) {
89 std::map<FileID, std::vector<LineEntry> > LineEntries;
114 const LineEntry *FindNearestLineEntry(FileID FID, unsigned Offset);
117 typedef std::map<FileID, std::vector<LineEntry> >::iterator iterator;
123 void AddEntry(FileID FID, const std::vector<LineEntry> &Entries);
/external/llvm/lib/MC/
DMCDwarf.cpp63 MCDwarfLineEntry LineEntry(LineSym, DwarfLoc); in Make() local
72 .addLineEntry(LineEntry, Section); in Make()
112 for (const MCDwarfLineEntry &LineEntry : LineEntries) { in EmitDwarfLineTable() local
113 int64_t LineDelta = static_cast<int64_t>(LineEntry.getLine()) - LastLine; in EmitDwarfLineTable()
115 if (FileNum != LineEntry.getFileNum()) { in EmitDwarfLineTable()
116 FileNum = LineEntry.getFileNum(); in EmitDwarfLineTable()
120 if (Column != LineEntry.getColumn()) { in EmitDwarfLineTable()
121 Column = LineEntry.getColumn(); in EmitDwarfLineTable()
125 if (Discriminator != LineEntry.getDiscriminator()) { in EmitDwarfLineTable()
126 Discriminator = LineEntry.getDiscriminator(); in EmitDwarfLineTable()
[all …]
DMCCodeView.cpp164 bool HaveColumns = any_of(Locs, [](const MCCVLineEntry &LineEntry) { in emitLineTableForFunction() argument
165 return LineEntry.getColumn() != 0; in emitLineTableForFunction()
451 MCCVLineEntry LineEntry(LineSym, CVLoc); in Make() local
457 MCOS->getContext().getCVContext().addLineEntry(LineEntry); in Make()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/
DMCDwarf.cpp101 MCDwarfLineEntry LineEntry(LineSym, DwarfLoc); in Make() local
110 .addLineEntry(LineEntry, Section); in Make()
162 for (const MCDwarfLineEntry &LineEntry : LineEntries) { in EmitDwarfLineTable() local
163 int64_t LineDelta = static_cast<int64_t>(LineEntry.getLine()) - LastLine; in EmitDwarfLineTable()
165 if (FileNum != LineEntry.getFileNum()) { in EmitDwarfLineTable()
166 FileNum = LineEntry.getFileNum(); in EmitDwarfLineTable()
170 if (Column != LineEntry.getColumn()) { in EmitDwarfLineTable()
171 Column = LineEntry.getColumn(); in EmitDwarfLineTable()
175 if (Discriminator != LineEntry.getDiscriminator() && in EmitDwarfLineTable()
177 Discriminator = LineEntry.getDiscriminator(); in EmitDwarfLineTable()
[all …]
DMCCodeView.cpp258 void CodeViewContext::addLineEntry(const MCCVLineEntry &LineEntry) { in addLineEntry() argument
261 {LineEntry.getFunctionId(), {Offset, Offset + 1}}); in addLineEntry()
264 MCCVLines.push_back(LineEntry); in addLineEntry()
335 bool HaveColumns = any_of(Locs, [](const MCCVLineEntry &LineEntry) { in emitLineTableForFunction() argument
336 return LineEntry.getColumn() != 0; in emitLineTableForFunction()
709 MCCVLineEntry LineEntry(LineSym, CVLoc); in Make() local
715 CVC.addLineEntry(LineEntry); in Make()
/external/llvm/include/llvm/MC/
DMCCodeView.h118 void addLineEntry(const MCCVLineEntry &LineEntry) { in addLineEntry() argument
121 {LineEntry.getFunctionId(), {Offset, Offset + 1}}); in addLineEntry()
124 MCCVLines.push_back(LineEntry); in addLineEntry()
DMCDwarf.h163 void addLineEntry(const MCDwarfLineEntry &LineEntry, MCSection *Sec) { in addLineEntry() argument
164 MCLineDivisions[Sec].push_back(LineEntry); in addLineEntry()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/PDB/
DPDBContext.cpp78 DILineInfo LineEntry = in getLineInfoForAddressRange() local
80 Table.push_back(std::make_pair(LineInfo->getVirtualAddress(), LineEntry)); in getLineInfoForAddressRange()
/external/llvm/lib/DebugInfo/PDB/
DPDBContext.cpp79 DILineInfo LineEntry = in getLineInfoForAddressRange() local
81 Table.push_back(std::make_pair(LineInfo->getVirtualAddress(), LineEntry)); in getLineInfoForAddressRange()
/external/clang/lib/Basic/
DSourceManager.cpp192 std::vector<LineEntry> &Entries = LineEntries[FID]; in AddLineNote()
212 Entries.push_back(LineEntry::get(Offset, LineNo, FilenameID, Kind, in AddLineNote()
227 std::vector<LineEntry> &Entries = LineEntries[FID]; in AddLineNote()
243 if (const LineEntry *PrevEntry = in AddLineNote()
248 Entries.push_back(LineEntry::get(Offset, LineNo, FilenameID, FileKind, in AddLineNote()
255 const LineEntry *LineTableInfo::FindNearestLineEntry(FileID FID, in FindNearestLineEntry()
257 const std::vector<LineEntry> &Entries = LineEntries[FID]; in FindNearestLineEntry()
266 std::vector<LineEntry>::const_iterator I = in FindNearestLineEntry()
275 const std::vector<LineEntry> &Entries) { in AddEntry()
1428 const LineEntry *Entry = in getFileCharacteristic()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/MC/
DMCDwarf.h191 void addLineEntry(const MCLineEntry &LineEntry) { in addLineEntry() argument
192 MCLineEntries.push_back(LineEntry); in addLineEntry()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/MC/
DMCDwarf.h178 void addLineEntry(const MCDwarfLineEntry &LineEntry, MCSection *Sec) { in addLineEntry() argument
179 MCLineDivisions[Sec].push_back(LineEntry); in addLineEntry()
DMCCodeView.h205 void addLineEntry(const MCCVLineEntry &LineEntry);
/external/swiftshader/third_party/LLVM/lib/MC/
DMCDwarf.cpp81 MCLineEntry LineEntry(LineSym, DwarfLoc); in Make() local
101 LineSection->addLineEntry(LineEntry); in Make()
/external/clang/lib/Serialization/
DASTReader.cpp1086 std::vector<LineEntry> Entries; in ParseLineTable()
1105 Entries.push_back(LineEntry::get(FileOffset, LineNo, FilenameID, in ParseLineTable()