Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/tools/lldb/source/Symbol/
H A DLineEntry.cpp17 LineEntry::LineEntry() in LineEntry() function in LineEntry
22 LineEntry::LineEntry(const lldb::SectionSP &section_sp, in LineEntry() function in LineEntry
35 void LineEntry::Clear() { in Clear()
48 bool LineEntry::IsValid() const { in IsValid()
52 bool LineEntry::DumpStopContext(Stream *s, bool show_fullpaths) const { in DumpStopContext()
72 bool LineEntry::Dump(Stream *s, Target *target, bool show_file, in Dump()
155 bool lldb_private::operator<(const LineEntry &a, const LineEntry &b) { in operator <()
156 return LineEntry::Compare(a, b) < 0; in operator <()
159 int LineEntry::Compare(const LineEntry &a, const LineEntry &b) { in Compare()
194 AddressRange LineEntry::GetSameLineContiguousAddressRange() const { in GetSameLineContiguousAddressRange()
[all …]
H A DLineTable.cpp167 bool LineTable::GetLineEntryAtIndex(uint32_t idx, LineEntry &line_entry) { in GetLineEntryAtIndex()
177 LineEntry &line_entry, in FindLineEntryByAddress()
249 LineEntry &line_entry) { in ConvertEntryAtIndexToLineEntry()
281 uint32_t line, bool exact, LineEntry *line_entry_ptr) { in FindLineEntryIndexByFileIndex()
328 LineEntry *line_entry_ptr) { in FindLineEntryIndexByFileIndex()
400 LineEntry line_entry; in Dump()
414 LineEntry line_entry; in GetDescription()
429 LineEntry line_entry; in GetContiguousFileAddressRanges()
451 LineEntry line_entry; in LinkLineTable()
H A DFunction.cpp220 LineEntry line_entry; in GetStartLineSourceInfo()
243 LineEntry line_entry; in GetEndLineSourceInfo()
491 LineEntry first_line_entry; in GetPrologueByteSize()
510 LineEntry line_entry; in GetPrologueByteSize()
530 LineEntry line_entry; in GetPrologueByteSize()
557 LineEntry line_entry; in GetPrologueByteSize()
571 LineEntry first_non_zero_entry; in GetPrologueByteSize()
H A DSymbolContext.cpp35 Block *b, LineEntry *le, Symbol *s) in SymbolContext()
44 LineEntry *le, Symbol *s) in SymbolContext()
390 LineEntry::Compare(lhs.line_entry, rhs.line_entry) == 0 && in operator ==()
707 LineEntry SymbolContext::GetFunctionStartLineEntry() const { in GetFunctionStartLineEntry()
708 LineEntry line_entry; in GetFunctionStartLineEntry()
717 return LineEntry(); in GetFunctionStartLineEntry()
727 return LineEntry(); in GetFunctionStartLineEntry()
749 LineEntry this_line; in GetAddressRangeFromHereToEndLine()
754 if (LineEntry::Compare(this_line, line_entry) == 0) { in GetAddressRangeFromHereToEndLine()
760 LineEntry end_entry; in GetAddressRangeFromHereToEndLine()
H A DCompileUnit.cpp247 LineEntry *line_entry_ptr) { in FindLineEntry()
317 LineEntry line_entry; in ResolveSymbolContext()
347 LineEntry line_entry; in ResolveSymbolContext()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/
H A DSourceManagerInternals.h33 struct LineEntry { struct
53 static LineEntry get(unsigned Offs, unsigned Line, int Filename, in get() argument
56 LineEntry E; in get()
67 inline bool operator<(const LineEntry &lhs, const LineEntry &rhs) {
72 inline bool operator<(const LineEntry &E, unsigned Offset) {
76 inline bool operator<(unsigned Offset, const LineEntry &E) {
93 std::map<FileID, std::vector<LineEntry>> LineEntries;
119 const LineEntry *FindNearestLineEntry(FileID FID, unsigned Offset);
122 using iterator = std::map<FileID, std::vector<LineEntry>>::iterator;
129 void AddEntry(FileID FID, const std::vector<LineEntry> &Entries);
/freebsd-12.1/contrib/llvm/tools/lldb/source/API/
H A DSBLineEntry.cpp29 SBLineEntry::SBLineEntry(const lldb_private::LineEntry *lldb_object_ptr) in SBLineEntry()
144 lldb_private::LineEntry *lhs_ptr = m_opaque_ap.get(); in operator ==()
145 lldb_private::LineEntry *rhs_ptr = rhs.m_opaque_ap.get(); in operator ==()
148 return lldb_private::LineEntry::Compare(*lhs_ptr, *rhs_ptr) == 0; in operator ==()
154 lldb_private::LineEntry *lhs_ptr = m_opaque_ap.get(); in operator !=()
155 lldb_private::LineEntry *rhs_ptr = rhs.m_opaque_ap.get(); in operator !=()
158 return lldb_private::LineEntry::Compare(*lhs_ptr, *rhs_ptr) != 0; in operator !=()
163 const lldb_private::LineEntry *SBLineEntry::operator->() const { in operator ->()
167 lldb_private::LineEntry &SBLineEntry::ref() { in ref()
169 m_opaque_ap.reset(new lldb_private::LineEntry()); in ref()
[all …]
H A DSBCompileUnit.cpp62 LineEntry line_entry; in GetLineEntryAtIndex()
H A DSBAddress.cpp238 LineEntry line_entry; in GetLineEntry()
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/API/
H A DSBLineEntry.h54 lldb_private::LineEntry *get();
62 const lldb_private::LineEntry *operator->() const;
64 lldb_private::LineEntry &ref();
66 const lldb_private::LineEntry &ref() const;
68 SBLineEntry(const lldb_private::LineEntry *lldb_object_ptr);
70 void SetLineEntry(const lldb_private::LineEntry &lldb_object_ref);
72 std::unique_ptr<lldb_private::LineEntry> m_opaque_ap;
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Symbol/
H A DLineEntry.h23 struct LineEntry { struct
29 LineEntry();
31 LineEntry(const lldb::SectionSP &section_sp, lldb::addr_t section_offset,
123 static int Compare(const LineEntry &lhs, const LineEntry &rhs);
198 bool operator<(const LineEntry &lhs, const LineEntry &rhs);
H A DLineTable.h128 bool FindLineEntryByAddress(const Address &so_addr, LineEntry &line_entry,
169 LineEntry *line_entry_ptr);
173 uint32_t line, bool exact, LineEntry *line_entry_ptr);
191 bool GetLineEntryAtIndex(uint32_t idx, LineEntry &line_entry);
372 bool ConvertEntryAtIndexToLineEntry(uint32_t idx, LineEntry &line_entry);
H A DSymbolContext.h84 LineEntry *line_entry = nullptr,
91 LineEntry *line_entry = nullptr,
350 LineEntry GetFunctionStartLineEntry() const;
384 LineEntry line_entry; ///< The LineEntry for a given query
H A DCompileUnit.h233 LineEntry *line_entry);
/freebsd-12.1/contrib/llvm/lib/MC/
H A DMCDwarf.cpp101 MCDwarfLineEntry LineEntry(LineSym, DwarfLoc); in Make() local
110 .addLineEntry(LineEntry, Section); in Make()
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()
184 if (Isa != LineEntry.getIsa()) { in EmitDwarfLineTable()
185 Isa = LineEntry.getIsa(); in EmitDwarfLineTable()
190 Flags = LineEntry.getFlags(); in EmitDwarfLineTable()
200 MCSymbol *Label = LineEntry.getLabel(); in EmitDwarfLineTable()
[all …]
H A DMCCodeView.cpp266 void CodeViewContext::addLineEntry(const MCCVLoc &LineEntry) { in addLineEntry() argument
269 {LineEntry.getFunctionId(), {Offset, Offset + 1}}); in addLineEntry()
272 MCCVLines.push_back(LineEntry); in addLineEntry()
343 bool HaveColumns = any_of(Locs, [](const MCCVLoc &LineEntry) { in emitLineTableForFunction() argument
344 return LineEntry.getColumn() != 0; in emitLineTableForFunction()
/freebsd-12.1/contrib/llvm/lib/DebugInfo/PDB/
H A DPDBContext.cpp78 DILineInfo LineEntry = in getLineInfoForAddressRange() local
80 Table.push_back(std::make_pair(LineInfo->getVirtualAddress(), LineEntry)); in getLineInfoForAddressRange()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Target/
H A DThreadPlanStepOverRange.cpp230 LineEntry line_entry; in ShouldStop()
233 LineEntry next_line_entry; in ShouldStop()
242 LineEntry prev_line_entry; in ShouldStop()
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Core/
H A DAddress.h49 struct LineEntry;
525 bool CalculateSymbolContextLineEntry(LineEntry &line_entry) const;
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Target/
H A DCPPLanguageRuntime.h33 LineEntry callable_line_entry;
H A DThread.h717 bool abort_other_plans, const LineEntry &line_entry,
782 bool abort_other_plans, const LineEntry &line_entry,
/freebsd-12.1/contrib/llvm/tools/clang/lib/Basic/
H A DSourceManager.cpp213 std::vector<LineEntry> &Entries = LineEntries[FID]; in AddLineNote()
234 if (const LineEntry *PrevEntry = in AddLineNote()
239 Entries.push_back(LineEntry::get(Offset, LineNo, FilenameID, FileKind, in AddLineNote()
245 const LineEntry *LineTableInfo::FindNearestLineEntry(FileID FID, in FindNearestLineEntry()
247 const std::vector<LineEntry> &Entries = LineEntries[FID]; in FindNearestLineEntry()
256 std::vector<LineEntry>::const_iterator I = in FindNearestLineEntry()
265 const std::vector<LineEntry> &Entries) { in AddEntry()
1387 const LineEntry *Entry = in getFileCharacteristic()
1452 if (const LineEntry *Entry = in getPresumedLoc()
1500 if (const LineEntry *Entry = in isInMainFile()
/freebsd-12.1/contrib/llvm/include/llvm/MC/
H A DMCCodeView.h173 void addLineEntry(const MCCVLoc &LineEntry);
H A DMCDwarf.h178 void addLineEntry(const MCDwarfLineEntry &LineEntry, MCSection *Sec) { in addLineEntry() argument
179 MCLineDivisions[Sec].push_back(LineEntry); in addLineEntry()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Commands/
H A DCommandObjectSource.cpp179 const LineEntry &line_entry = sc.line_entry; in DumpLinesInSymbolContexts()
250 LineEntry line_entry; in DumpFileLinesInCompUnit()
782 LineEntry line_entry;
784 SourceInfo(const ConstString &name, const LineEntry &line_entry) in SourceInfo()

12