Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/lldb/source/API/
H A DSBLineEntry.cpp30 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 DSBCompileUnit.cpp14 #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 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/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.h120 typedef std::vector<gsym::LineEntry> Collection;
140 LLVM_ABI static Expected<LineEntry> lookup(DataExtractor &Data,
174 std::optional<LineEntry> first() const { in first()
183 std::optional<LineEntry> last() const { in last()
188 void push(const LineEntry &LE) { in push()
197 LineEntry &get(size_t i) { in get()
201 const LineEntry &get(size_t i) const { in get()
205 LineEntry &operator[](size_t i) {
208 const LineEntry &operator[](size_t i) const {
/freebsd/contrib/llvm-project/lldb/source/Symbol/
H A DLineEntry.cpp16 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 DLineTable.cpp157 bool LineTable::GetLineEntryAtIndex(uint32_t idx, LineEntry &line_entry) { in GetLineEntryAtIndex()
211 LineEntry &line_entry, in FindLineEntryByAddress()
231 LineEntry &line_entry) { in ConvertEntryAtIndexToLineEntry()
277 const SourceLocationSpec &src_location_spec, LineEntry *line_entry_ptr) { in FindLineEntryIndexByFileIndex()
288 const SourceLocationSpec &src_location_spec, LineEntry *line_entry_ptr) { in FindLineEntryIndexByFileIndex()
329 LineEntry line_entry; in Dump()
343 LineEntry line_entry; in GetDescription()
358 LineEntry line_entry; in GetContiguousFileAddressRanges()
380 LineEntry line_entry; in LinkLineTable()
H A DFunction.cpp295 LineEntry line_entry; in GetStartLineSourceInfo()
318 LineEntry entry; in GetSourceInfo()
586 LineEntry first_line_entry; in GetPrologueByteSize()
604 LineEntry line_entry; in GetPrologueByteSize()
624 LineEntry line_entry; in GetPrologueByteSize()
656 LineEntry line_entry; in GetPrologueByteSize()
670 LineEntry first_non_zero_entry; in GetPrologueByteSize()
H A DSymbolContext.cpp38 Block *b, LineEntry *le, Symbol *s) in SymbolContext()
47 LineEntry *le, Symbol *s) in SymbolContext()
331 LineEntry::Compare(lhs.line_entry, rhs.line_entry) == 0 && in operator ==()
643 LineEntry SymbolContext::GetFunctionStartLineEntry() const { in GetFunctionStartLineEntry()
644 LineEntry line_entry; in GetFunctionStartLineEntry()
653 return LineEntry(); in GetFunctionStartLineEntry()
661 return LineEntry(); in GetFunctionStartLineEntry()
681 LineEntry this_line; in GetAddressRangeFromHereToEndLine()
686 if (LineEntry::Compare(this_line, line_entry) == 0) { in GetAddressRangeFromHereToEndLine()
692 LineEntry end_entry; in GetAddressRangeFromHereToEndLine()
H A DCompileUnit.cpp229 LineEntry *line_entry_ptr) { in FindLineEntry()
302 LineEntry line_entry; in ResolveSymbolContext()
377 LineEntry call_site_line = sc.line_entry; in ResolveSymbolContext()
/freebsd/contrib/llvm-project/lldb/include/lldb/API/
H A DSBLineEntry.h58 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 DLineEntry.h21 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 DLineTable.h118 bool FindLineEntryByAddress(const Address &so_addr, LineEntry &line_entry,
154 LineEntry *line_entry_ptr);
158 const SourceLocationSpec &src_location_spec, LineEntry *line_entry_ptr);
174 bool GetLineEntryAtIndex(uint32_t idx, LineEntry &line_entry);
337 bool ConvertEntryAtIndexToLineEntry(uint32_t idx, LineEntry &line_entry);
346 const SourceLocationSpec &src_location_spec, LineEntry *line_entry_ptr, in FindLineEntryIndexByFileIndexImpl()
H A DSymbolContext.h76 LineEntry *line_entry = nullptr,
83 LineEntry *line_entry = nullptr,
286 LineEntry GetFunctionStartLineEntry() const;
322 LineEntry line_entry; ///< The LineEntry for a given query
/freebsd/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()
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 DFunctionInfo.cpp266 std::optional<LineEntry> LineEntry; in lookup() local
287 LineEntry = ExpectedLE.get(); in lookup()
328 if (!LineEntry) { in lookup()
338 std::optional<FileEntry> LineEntryFile = GR.getFile(LineEntry->File); in lookup()
342 LineEntry->File); in lookup()
349 SrcLoc.Line = LineEntry->Line; in lookup()
H A DGsymContext.cpp118 for (const auto &LineEntry : LT) { in getLineInfoForAddressRange() local
119 if (StartAddr <= LineEntry.Addr && LineEntry.Addr < EndAddr) { in getLineInfoForAddressRange()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCDwarf.cpp104 MCDwarfLineEntry LineEntry(LineSym, DwarfLoc); in make() local
113 .addLineEntry(LineEntry, Section); in make()
199 for (const MCDwarfLineEntry &LineEntry : LineEntries) { in emitOne() local
200 MCSymbol *Label = LineEntry.getLabel(); in emitOne()
203 if (LineEntry.LineStreamLabel) { in emitOne()
209 MCOS->emitLabel(LineEntry.LineStreamLabel, LineEntry.StreamLabelDefLoc); in emitOne()
213 if (LineEntry.IsEndEntry) { in emitOne()
221 int64_t LineDelta = static_cast<int64_t>(LineEntry.getLine()) - LastLine; in emitOne()
223 if (FileNum != LineEntry.getFileNum()) { in emitOne()
224 FileNum = LineEntry.getFileNum(); in emitOne()
[all …]
H A DMCCodeView.cpp251 void CodeViewContext::addLineEntry(const MCCVLoc &LineEntry) { in addLineEntry() argument
254 {LineEntry.getFunctionId(), {Offset, Offset + 1}}); in addLineEntry()
257 MCCVLines.push_back(LineEntry); in addLineEntry()
351 bool HaveColumns = any_of(Locs, [](const MCCVLoc &LineEntry) { in emitLineTableForFunction() argument
352 return LineEntry.getColumn() != 0; in emitLineTableForFunction()
/freebsd/contrib/llvm-project/lldb/include/lldb/Breakpoint/
H A DBreakpointLocation.h281 bool SetPreferredLineEntry(const LineEntry &line_entry) { in SetPreferredLineEntry()
290 const std::optional<LineEntry> GetPreferredLineEntry() { in GetPreferredLineEntry()
392 std::optional<LineEntry> m_preferred_line_entry;
/freebsd/contrib/llvm-project/lldb/source/Target/
H A DThreadPlanStepOverRange.cpp248 LineEntry line_entry; in ShouldStop()
251 LineEntry next_line_entry; in ShouldStop()
260 LineEntry prev_line_entry; in ShouldStop()
/freebsd/contrib/llvm-project/lldb/include/lldb/Core/
H A DAddress.h33 struct LineEntry;
494 bool CalculateSymbolContextLineEntry(LineEntry &line_entry) const;
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/
H A DPDBContext.cpp88 if (std::optional<DILineInfo> LineEntry = getLineInfoForAddress( in getLineInfoForAddressRange() local
91 std::make_pair(LineInfo->getVirtualAddress(), *LineEntry)); in getLineInfoForAddressRange()
/freebsd/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/CPlusPlus/
H A DCPPLanguageRuntime.h34 LineEntry callable_line_entry;
/freebsd/contrib/llvm-project/lldb/source/Breakpoint/
H A DBreakpointResolver.cpp345 LineEntry resolved_entry; in AddLocation()
348 LineEntry::Compare(resolved_entry, sc.line_entry)) { in AddLocation()

123