/freebsd/contrib/llvm-project/lldb/source/API/ |
H A D | SBLineEntry.cpp | 32 m_opaque_up = std::make_unique<LineEntry>(*lldb_object_ptr); in SBLineEntry() 44 m_opaque_up = std::make_unique<LineEntry>(lldb_object_ref); in SetLineEntry() 131 lldb_private::LineEntry *lhs_ptr = m_opaque_up.get(); in operator ==() 132 lldb_private::LineEntry *rhs_ptr = rhs.m_opaque_up.get(); in operator ==() 135 return lldb_private::LineEntry::Compare(*lhs_ptr, *rhs_ptr) == 0; in operator ==() 143 lldb_private::LineEntry *lhs_ptr = m_opaque_up.get(); in operator !=() 144 lldb_private::LineEntry *rhs_ptr = rhs.m_opaque_up.get(); in operator !=() 147 return lldb_private::LineEntry::Compare(*lhs_ptr, *rhs_ptr) != 0; in operator !=() 152 const lldb_private::LineEntry *SBLineEntry::operator->() const { in operator ->() 156 lldb_private::LineEntry &SBLineEntry::ref() { in ref() [all …]
|
H A D | SBCompileUnit.cpp | 71 LineEntry line_entry; in GetLineEntryAtIndex() 87 LineEntry found_line_entry; in FindLineEntryIndex() 115 LineEntry line_entry; in FindLineEntryIndex()
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | SourceManagerInternals.h | 32 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/contrib/llvm-project/llvm/include/llvm/DebugInfo/GSYM/ |
H A D | LineEntry.h | 22 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 D | LineTable.h | 119 typedef std::vector<gsym::LineEntry> Collection; 139 static Expected<LineEntry> lookup(DataExtractor &Data, uint64_t BaseAddr, 173 std::optional<LineEntry> first() const { in first() 182 std::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/contrib/llvm-project/lldb/source/Symbol/ |
H A D | LineEntry.cpp | 16 LineEntry::LineEntry() in LineEntry() function in LineEntry 20 void LineEntry::Clear() { in Clear() 33 bool LineEntry::IsValid() const { in IsValid() 37 bool LineEntry::DumpStopContext(Stream *s, bool show_fullpaths) const { in DumpStopContext() 57 bool LineEntry::Dump(Stream *s, Target *target, bool show_file, in Dump() 92 bool LineEntry::GetDescription(Stream *s, lldb::DescriptionLevel level, in GetDescription() 140 bool lldb_private::operator<(const LineEntry &a, const LineEntry &b) { in operator <() 141 return LineEntry::Compare(a, b) < 0; in operator <() 144 int LineEntry::Compare(const LineEntry &a, const LineEntry &b) { in Compare() 179 AddressRange LineEntry::GetSameLineContiguousAddressRange( in GetSameLineContiguousAddressRange() [all …]
|
H A D | LineTable.cpp | 179 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 D | Function.cpp | 288 LineEntry line_entry; in GetStartLineSourceInfo() 311 LineEntry line_entry; in GetEndLineSourceInfo() 574 LineEntry first_line_entry; in GetPrologueByteSize() 593 LineEntry line_entry; in GetPrologueByteSize() 613 LineEntry line_entry; in GetPrologueByteSize() 640 LineEntry line_entry; in GetPrologueByteSize() 654 LineEntry first_non_zero_entry; in GetPrologueByteSize()
|
H A D | SymbolContext.cpp | 37 Block *b, LineEntry *le, Symbol *s) in SymbolContext() 46 LineEntry *le, Symbol *s) in SymbolContext() 375 LineEntry::Compare(lhs.line_entry, rhs.line_entry) == 0 && in operator ==() 677 LineEntry SymbolContext::GetFunctionStartLineEntry() const { in GetFunctionStartLineEntry() 678 LineEntry line_entry; in GetFunctionStartLineEntry() 687 return LineEntry(); in GetFunctionStartLineEntry() 697 return LineEntry(); in GetFunctionStartLineEntry() 719 LineEntry this_line; in GetAddressRangeFromHereToEndLine() 724 if (LineEntry::Compare(this_line, line_entry) == 0) { in GetAddressRangeFromHereToEndLine() 730 LineEntry end_entry; in GetAddressRangeFromHereToEndLine()
|
H A D | CompileUnit.cpp | 228 LineEntry *line_entry_ptr) { in FindLineEntry() 297 LineEntry line_entry; in ResolveSymbolContext()
|
/freebsd/contrib/llvm-project/lldb/include/lldb/API/ |
H A D | SBLineEntry.h | 55 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/contrib/llvm-project/lldb/include/lldb/Symbol/ |
H A D | LineEntry.h | 21 struct LineEntry { struct 25 LineEntry(); 93 static int Compare(const LineEntry &lhs, const LineEntry &rhs); 170 bool operator<(const LineEntry &lhs, const LineEntry &rhs);
|
H A D | LineTable.h | 122 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 D | SymbolContext.h | 76 LineEntry *line_entry = nullptr, 83 LineEntry *line_entry = nullptr, 287 LineEntry GetFunctionStartLineEntry() const; 317 LineEntry line_entry; ///< The LineEntry for a given query
|
H A D | CompileUnit.h | 227 LineEntry *line_entry);
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/ |
H A D | LineTable.cpp | 52 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() 285 for (const auto &LineEntry : LT) in operator <<() local 286 OS << LineEntry << '\n'; in operator <<()
|
H A D | FunctionInfo.cpp | 208 std::optional<LineEntry> LineEntry; in lookup() local 229 LineEntry = ExpectedLE.get(); in lookup() 246 if (!LineEntry) { in lookup() 256 std::optional<FileEntry> LineEntryFile = GR.getFile(LineEntry->File); in lookup() 260 LineEntry->File); in lookup() 267 SrcLoc.Line = LineEntry->Line; in lookup()
|
/freebsd/contrib/llvm-project/llvm/lib/MC/ |
H A D | MCDwarf.cpp | 116 .addLineEntry(LineEntry, Section); in make() 189 MCSymbol *Label = LineEntry.getLabel(); in emitOne() 191 if (LineEntry.IsEndEntry) { in emitOne() 201 if (FileNum != LineEntry.getFileNum()) { in emitOne() 202 FileNum = LineEntry.getFileNum(); in emitOne() 206 if (Column != LineEntry.getColumn()) { in emitOne() 207 Column = LineEntry.getColumn(); in emitOne() 220 if (Isa != LineEntry.getIsa()) { in emitOne() 221 Isa = LineEntry.getIsa(); in emitOne() 226 Flags = LineEntry.getFlags(); in emitOne() [all …]
|
H A D | MCCodeView.cpp | 266 void CodeViewContext::addLineEntry(const MCCVLoc &LineEntry) { in addLineEntry() argument 269 {LineEntry.getFunctionId(), {Offset, Offset + 1}}); in addLineEntry() 272 MCCVLines.push_back(LineEntry); in addLineEntry() 366 bool HaveColumns = any_of(Locs, [](const MCCVLoc &LineEntry) { in emitLineTableForFunction() argument 367 return LineEntry.getColumn() != 0; in emitLineTableForFunction()
|
/freebsd/contrib/llvm-project/lldb/source/Target/ |
H A D | ThreadPlanStepOverRange.cpp | 232 LineEntry line_entry; in ShouldStop() 235 LineEntry next_line_entry; in ShouldStop() 244 LineEntry prev_line_entry; in ShouldStop()
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/ |
H A D | PDBContext.cpp | 87 DILineInfo LineEntry = getLineInfoForAddress( in getLineInfoForAddressRange() local 89 Table.push_back(std::make_pair(LineInfo->getVirtualAddress(), LineEntry)); in getLineInfoForAddressRange()
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Core/ |
H A D | Address.h | 33 struct LineEntry; 501 bool CalculateSymbolContextLineEntry(LineEntry &line_entry) const;
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/CPlusPlus/ |
H A D | CPPLanguageRuntime.h | 34 LineEntry callable_line_entry;
|
/freebsd/contrib/llvm-project/clang/lib/Basic/ |
H A D | SourceManager.cpp | 206 std::vector<LineEntry> &Entries = LineEntries[FID]; 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() 1426 const LineEntry *Entry = in getFileCharacteristic() 1495 if (const LineEntry *Entry = in getPresumedLoc() 1546 if (const LineEntry *Entry = in isInMainFile()
|
/freebsd/contrib/llvm-project/lldb/source/Commands/ |
H A D | CommandObjectSource.cpp | 154 const LineEntry &line_entry = sc.line_entry; in DumpLinesInSymbolContexts() 221 LineEntry line_entry; in DumpFileLinesInCompUnit() 739 LineEntry line_entry; 741 SourceInfo(ConstString name, const LineEntry &line_entry) in SourceInfo()
|