/freebsd/contrib/llvm-project/lldb/source/API/ |
H A D | SBLineEntry.cpp | 30 SBLineEntry::SBLineEntry(const lldb_private::LineEntry *lldb_object_ptr) { in SBLineEntry() 32 m_opaque_up = std::make_unique<LineEntry>(*lldb_object_ptr); in SBLineEntry() 43 void SBLineEntry::SetLineEntry(const lldb_private::LineEntry &lldb_object_ref) { in SetLineEntry() 44 m_opaque_up = std::make_unique<LineEntry>(lldb_object_ref); in SetLineEntry() 146 lldb_private::LineEntry *lhs_ptr = m_opaque_up.get(); in operator ==() 147 lldb_private::LineEntry *rhs_ptr = rhs.m_opaque_up.get(); in operator ==() 150 return lldb_private::LineEntry::Compare(*lhs_ptr, *rhs_ptr) == 0; in operator ==() 158 lldb_private::LineEntry *lhs_ptr = m_opaque_up.get(); in operator !=() 159 lldb_private::LineEntry *rhs_ptr = rhs.m_opaque_up.get(); in operator !=() 162 return lldb_private::LineEntry::Compare(*lhs_ptr, *rhs_ptr) != 0; in operator !=() [all …]
|
H A D | SBCompileUnit.cpp | 14 #include "lldb/Symbol/LineEntry.h" 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 22 void LineEntry::Clear() { in Clear() 35 bool LineEntry::IsValid() const { in IsValid() 39 bool LineEntry::DumpStopContext(Stream *s, bool show_fullpaths) const { in DumpStopContext() 60 bool LineEntry::Dump(Stream *s, Target *target, bool show_file, in Dump() 95 bool LineEntry::GetDescription(Stream *s, lldb::DescriptionLevel level, in GetDescription() 143 bool lldb_private::operator<(const LineEntry &a, const LineEntry &b) { in operator <() 144 return LineEntry::Compare(a, b) < 0; in operator <() 147 int LineEntry::Compare(const LineEntry &a, const LineEntry &b) { in Compare() 182 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 | 289 LineEntry line_entry; in GetStartLineSourceInfo() 312 LineEntry line_entry; in GetEndLineSourceInfo() 575 LineEntry first_line_entry; in GetPrologueByteSize() 594 LineEntry line_entry; in GetPrologueByteSize() 614 LineEntry line_entry; in GetPrologueByteSize() 641 LineEntry line_entry; in GetPrologueByteSize() 655 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() 384 LineEntry::Compare(lhs.line_entry, rhs.line_entry) == 0 && in operator ==() 686 LineEntry SymbolContext::GetFunctionStartLineEntry() const { in GetFunctionStartLineEntry() 687 LineEntry line_entry; in GetFunctionStartLineEntry() 696 return LineEntry(); in GetFunctionStartLineEntry() 706 return LineEntry(); in GetFunctionStartLineEntry() 728 LineEntry this_line; in GetAddressRangeFromHereToEndLine() 733 if (LineEntry::Compare(this_line, line_entry) == 0) { in GetAddressRangeFromHereToEndLine() 739 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 | 58 lldb_private::LineEntry *get(); 66 const lldb_private::LineEntry *operator->() const; 68 lldb_private::LineEntry &ref(); 70 const lldb_private::LineEntry &ref() const; 72 SBLineEntry(const lldb_private::LineEntry *lldb_object_ptr); 74 void SetLineEntry(const lldb_private::LineEntry &lldb_object_ref); 76 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); 182 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, 288 LineEntry GetFunctionStartLineEntry() const; 318 LineEntry line_entry; ///< The LineEntry for a given query
|
H A D | CompileUnit.h | 227 LineEntry *line_entry); in GetPrimaryFile() 386 /// using a LineEntry base address will be able to be resolved.
|
/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() 204 "LineEntry has address 0x%" PRIx64 " which is " in encode() 209 "LineEntry in LineTable not in ascending order"); 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 in lookup() 290 for (const auto &LineEntry : LT) operator <<() local [all...] |
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 | 108 MCDwarfLineEntry LineEntry(LineSym, DwarfLoc); in make() local 117 .addLineEntry(LineEntry, Section); in make() 189 for (const MCDwarfLineEntry &LineEntry : LineEntries) { in emitOne() local 190 MCSymbol *Label = LineEntry.getLabel(); in emitOne() 192 if (LineEntry.IsEndEntry) { in emitOne() 200 int64_t LineDelta = static_cast<int64_t>(LineEntry.getLine()) - LastLine; in emitOne() 202 if (FileNum != LineEntry.getFileNum()) { in emitOne() 203 FileNum = LineEntry.getFileNum(); in emitOne() 207 if (Column != LineEntry.getColumn()) { in emitOne() 208 Column = LineEntry.getColumn(); in emitOne() [all …]
|
H A D | MCCodeView.cpp | 263 void CodeViewContext::addLineEntry(const MCCVLoc &LineEntry) { in addLineEntry() argument 266 {LineEntry.getFunctionId(), {Offset, Offset + 1}}); in addLineEntry() 269 MCCVLines.push_back(LineEntry); in addLineEntry() 363 bool HaveColumns = any_of(Locs, [](const MCCVLoc &LineEntry) { in emitLineTableForFunction() argument 364 return LineEntry.getColumn() != 0; in emitLineTableForFunction()
|
/freebsd/contrib/llvm-project/lldb/source/Target/ |
H A D | ThreadPlanStepOverRange.cpp | 233 LineEntry line_entry; in ShouldStop() 236 LineEntry next_line_entry; in ShouldStop() 245 LineEntry prev_line_entry; in ShouldStop()
|
/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/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/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 | 214 std::vector<LineEntry> &Entries = LineEntries[FID]; in AddLineNote() 242 Entries.push_back(LineEntry::get(Offset, LineNo, FilenameID, FileKind, in AddLineNote() 248 const LineEntry *LineTableInfo::FindNearestLineEntry(FileID FID, in FindNearestLineEntry() 250 const std::vector<LineEntry> &Entries = LineEntries[FID]; in FindNearestLineEntry() 259 std::vector<LineEntry>::const_iterator I = llvm::upper_bound(Entries, Offset); in FindNearestLineEntry() 268 const std::vector<LineEntry> &Entries) { in AddEntry() 1441 const LineEntry *Entry = in getFileCharacteristic() 1510 if (const LineEntry *Entry = in getPresumedLoc() 1561 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()
|