Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/
H A DSourceManagerInternals.h32 struct LineEntry { struct
52 static LineEntry get(unsigned Offs, unsigned Line, int Filename, in get() argument
55 LineEntry E; in get()
66 inline bool operator<(const LineEntry &lhs, const LineEntry &rhs) {
71 inline bool operator<(const LineEntry &E, unsigned Offset) {
75 inline bool operator<(unsigned Offset, const LineEntry &E) {
92 std::map<FileID, std::vector<LineEntry>> LineEntries;
118 const LineEntry *FindNearestLineEntry(FileID FID, unsigned Offset);
121 using iterator = std::map<FileID, std::vector<LineEntry>>::iterator;
128 void AddEntry(FileID FID, const std::vector<LineEntry> &Entries);
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/DebugInfo/GSYM/
H A DLineEntry.h22 struct LineEntry { struct
26 LineEntry(uint64_t A = 0, uint32_t F = 0, uint32_t L = 0) argument
31 inline raw_ostream &operator<<(raw_ostream &OS, const LineEntry &LE) { argument
36 inline bool operator==(const LineEntry &LHS, const LineEntry &RHS) {
39 inline bool operator!=(const LineEntry &LHS, const LineEntry &RHS) {
42 inline bool operator<(const LineEntry &LHS, const LineEntry &RHS) {
H A DLineTable.h119 typedef std::vector<gsym::LineEntry> Collection;
139 static Expected<LineEntry> lookup(DataExtractor &Data, uint64_t BaseAddr,
173 Optional<LineEntry> first() const { in first()
182 Optional<LineEntry> last() const { in last()
187 void push(const LineEntry &LE) { in push()
196 LineEntry &get(size_t i) { in get()
200 const LineEntry &get(size_t i) const { in get()
204 LineEntry &operator[](size_t i) {
207 const LineEntry &operator[](size_t i) const {
/freebsd-13.1/contrib/llvm-project/lldb/source/Symbol/
H A DLineEntry.cpp16 LineEntry::LineEntry() in LineEntry() function in LineEntry
20 LineEntry::LineEntry(const lldb::SectionSP &section_sp, in LineEntry() function in LineEntry
33 void LineEntry::Clear() { in Clear()
46 bool LineEntry::IsValid() const { in IsValid()
50 bool LineEntry::DumpStopContext(Stream *s, bool show_fullpaths) const { in DumpStopContext()
70 bool LineEntry::Dump(Stream *s, Target *target, bool show_file, in Dump()
153 bool lldb_private::operator<(const LineEntry &a, const LineEntry &b) { in operator <()
154 return LineEntry::Compare(a, b) < 0; in operator <()
157 int LineEntry::Compare(const LineEntry &a, const LineEntry &b) { in Compare()
192 AddressRange LineEntry::GetSameLineContiguousAddressRange( in GetSameLineContiguousAddressRange()
[all …]
H A DLineTable.cpp179 bool LineTable::GetLineEntryAtIndex(uint32_t idx, LineEntry &line_entry) { in GetLineEntryAtIndex()
189 LineEntry &line_entry, in FindLineEntryByAddress()
261 LineEntry &line_entry) { in ConvertEntryAtIndexToLineEntry()
307 const SourceLocationSpec &src_location_spec, LineEntry *line_entry_ptr) { in FindLineEntryIndexByFileIndex()
318 const SourceLocationSpec &src_location_spec, LineEntry *line_entry_ptr) { in FindLineEntryIndexByFileIndex()
359 LineEntry line_entry; in Dump()
373 LineEntry line_entry; in GetDescription()
388 LineEntry line_entry; in GetContiguousFileAddressRanges()
410 LineEntry line_entry; in LinkLineTable()
H A DFunction.cpp262 LineEntry line_entry; in GetStartLineSourceInfo()
285 LineEntry line_entry; in GetEndLineSourceInfo()
537 LineEntry first_line_entry; in GetPrologueByteSize()
556 LineEntry line_entry; in GetPrologueByteSize()
576 LineEntry line_entry; in GetPrologueByteSize()
603 LineEntry line_entry; in GetPrologueByteSize()
617 LineEntry first_non_zero_entry; in GetPrologueByteSize()
H A DSymbolContext.cpp32 Block *b, LineEntry *le, Symbol *s) in SymbolContext()
41 LineEntry *le, Symbol *s) in SymbolContext()
371 LineEntry::Compare(lhs.line_entry, rhs.line_entry) == 0 && in operator ==()
675 LineEntry SymbolContext::GetFunctionStartLineEntry() const { in GetFunctionStartLineEntry()
676 LineEntry line_entry; in GetFunctionStartLineEntry()
685 return LineEntry(); in GetFunctionStartLineEntry()
695 return LineEntry(); in GetFunctionStartLineEntry()
717 LineEntry this_line; in GetAddressRangeFromHereToEndLine()
722 if (LineEntry::Compare(this_line, line_entry) == 0) { in GetAddressRangeFromHereToEndLine()
728 LineEntry end_entry; in GetAddressRangeFromHereToEndLine()
H A DCompileUnit.cpp220 LineEntry *line_entry_ptr) { in FindLineEntry()
290 LineEntry line_entry; in ResolveSymbolContext()
/freebsd-13.1/contrib/llvm-project/lldb/source/API/
H A DSBLineEntry.cpp32 SBLineEntry::SBLineEntry(const lldb_private::LineEntry *lldb_object_ptr) in SBLineEntry()
35 m_opaque_up = std::make_unique<LineEntry>(*lldb_object_ptr); in SBLineEntry()
48 m_opaque_up = std::make_unique<LineEntry>(lldb_object_ref); in SetLineEntry()
138 lldb_private::LineEntry *lhs_ptr = m_opaque_up.get(); in operator ==()
139 lldb_private::LineEntry *rhs_ptr = rhs.m_opaque_up.get(); in operator ==()
142 return lldb_private::LineEntry::Compare(*lhs_ptr, *rhs_ptr) == 0; in operator ==()
151 lldb_private::LineEntry *lhs_ptr = m_opaque_up.get(); in operator !=()
152 lldb_private::LineEntry *rhs_ptr = rhs.m_opaque_up.get(); in operator !=()
160 const lldb_private::LineEntry *SBLineEntry::operator->() const { in operator ->()
164 lldb_private::LineEntry &SBLineEntry::ref() { in ref()
[all …]
H A DSBCompileUnit.cpp77 LineEntry line_entry; in GetLineEntryAtIndex()
111 LineEntry line_entry; in FindLineEntryIndex()
/freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Symbol/
H A DLineEntry.h20 struct LineEntry { struct
24 LineEntry();
26 LineEntry(const lldb::SectionSP &section_sp, lldb::addr_t section_offset,
98 static int Compare(const LineEntry &lhs, const LineEntry &rhs);
174 bool operator<(const LineEntry &lhs, const LineEntry &rhs);
H A DLineTable.h122 bool FindLineEntryByAddress(const Address &so_addr, LineEntry &line_entry,
158 LineEntry *line_entry_ptr);
162 const SourceLocationSpec &src_location_spec, LineEntry *line_entry_ptr);
178 bool GetLineEntryAtIndex(uint32_t idx, LineEntry &line_entry);
336 bool ConvertEntryAtIndexToLineEntry(uint32_t idx, LineEntry &line_entry);
345 const SourceLocationSpec &src_location_spec, LineEntry *line_entry_ptr, in FindLineEntryIndexByFileIndexImpl()
H A DSymbolContext.h75 LineEntry *line_entry = nullptr,
82 LineEntry *line_entry = nullptr,
292 LineEntry GetFunctionStartLineEntry() const;
322 LineEntry line_entry; ///< The LineEntry for a given query
H A DCompileUnit.h224 LineEntry *line_entry);
/freebsd-13.1/contrib/llvm-project/lldb/include/lldb/API/
H A DSBLineEntry.h55 lldb_private::LineEntry *get();
63 const lldb_private::LineEntry *operator->() const;
65 lldb_private::LineEntry &ref();
67 const lldb_private::LineEntry &ref() const;
69 SBLineEntry(const lldb_private::LineEntry *lldb_object_ptr);
71 void SetLineEntry(const lldb_private::LineEntry &lldb_object_ref);
73 std::unique_ptr<lldb_private::LineEntry> m_opaque_up;
/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DLineTable.cpp52 typedef std::function<bool(const LineEntry &Row)> LineEntryCallback;
70 LineEntry Row(BaseAddr, 1, FirstLine); in parse()
193 LineEntry Prev(BaseAddr, 1, Lines.front().Line); in encode()
254 llvm::Error Err = parse(Data, BaseAddr, [&](const LineEntry &Row) -> bool { in decode()
266 Expected<LineEntry> LineTable::lookup(DataExtractor &Data, uint64_t BaseAddr, uint64_t Addr) { in lookup()
267 LineEntry Result; in lookup()
269 [Addr, &Result](const LineEntry &Row) -> bool { in lookup()
290 for (const auto &LineEntry : LT) in operator <<() local
291 OS << LineEntry << '\n'; in operator <<()
H A DFunctionInfo.cpp183 Optional<LineEntry> LineEntry; in lookup() local
204 LineEntry = ExpectedLE.get(); in lookup()
221 if (!LineEntry) { in lookup()
231 Optional<FileEntry> LineEntryFile = GR.getFile(LineEntry->File); in lookup()
235 LineEntry->File); in lookup()
242 SrcLoc.Line = LineEntry->Line; in lookup()
/freebsd-13.1/contrib/llvm-project/llvm/lib/MC/
H A DMCDwarf.cpp121 MCDwarfLineEntry LineEntry(LineSym, DwarfLoc); in make() local
130 .addLineEntry(LineEntry, Section); in make()
180 if (FileNum != LineEntry.getFileNum()) { in emitDwarfLineTable()
181 FileNum = LineEntry.getFileNum(); in emitDwarfLineTable()
185 if (Column != LineEntry.getColumn()) { in emitDwarfLineTable()
186 Column = LineEntry.getColumn(); in emitDwarfLineTable()
199 if (Isa != LineEntry.getIsa()) { in emitDwarfLineTable()
200 Isa = LineEntry.getIsa(); in emitDwarfLineTable()
205 Flags = LineEntry.getFlags(); in emitDwarfLineTable()
215 MCSymbol *Label = LineEntry.getLabel(); in emitDwarfLineTable()
[all …]
H A DMCCodeView.cpp265 void CodeViewContext::addLineEntry(const MCCVLoc &LineEntry) { in addLineEntry() argument
268 {LineEntry.getFunctionId(), {Offset, Offset + 1}}); in addLineEntry()
271 MCCVLines.push_back(LineEntry); in addLineEntry()
342 bool HaveColumns = any_of(Locs, [](const MCCVLoc &LineEntry) { in emitLineTableForFunction() argument
343 return LineEntry.getColumn() != 0; in emitLineTableForFunction()
/freebsd-13.1/contrib/llvm-project/lldb/source/Target/
H A DTraceInstructionDumper.cpp61 static bool IsLineEntryValid(const LineEntry &line_entry) { in IsLineEntryValid()
68 static bool FileLineAndColumnMatches(const LineEntry &a, const LineEntry &b) { in FileLineAndColumnMatches()
H A DThreadPlanStepOverRange.cpp231 LineEntry line_entry; in ShouldStop()
234 LineEntry next_line_entry; in ShouldStop()
243 LineEntry prev_line_entry; in ShouldStop()
/freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Core/
H A DAddress.h30 struct LineEntry;
478 bool CalculateSymbolContextLineEntry(LineEntry &line_entry) const;
/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/PDB/
H A DPDBContext.cpp78 DILineInfo LineEntry = getLineInfoForAddress( in getLineInfoForAddressRange() local
80 Table.push_back(std::make_pair(LineInfo->getVirtualAddress(), LineEntry)); in getLineInfoForAddressRange()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/CPlusPlus/
H A DCPPLanguageRuntime.h34 LineEntry callable_line_entry;
/freebsd-13.1/contrib/llvm-project/clang/lib/Basic/
H A DSourceManager.cpp208 std::vector<LineEntry> &Entries = LineEntries[FID]; in AddLineNote()
229 if (const LineEntry *PrevEntry = in AddLineNote()
234 Entries.push_back(LineEntry::get(Offset, LineNo, FilenameID, FileKind, in AddLineNote()
240 const LineEntry *LineTableInfo::FindNearestLineEntry(FileID FID, in FindNearestLineEntry()
242 const std::vector<LineEntry> &Entries = LineEntries[FID]; in FindNearestLineEntry()
251 std::vector<LineEntry>::const_iterator I = llvm::upper_bound(Entries, Offset); in FindNearestLineEntry()
260 const std::vector<LineEntry> &Entries) { in AddEntry()
1488 const LineEntry *Entry = in getFileCharacteristic()
1557 if (const LineEntry *Entry = in getPresumedLoc()
1608 if (const LineEntry *Entry = in isInMainFile()

12