Home
last modified time | relevance | path

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

123

/openbsd-src/gnu/llvm/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()
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 !=()
[all …]
H A DSBCompileUnit.cpp71 LineEntry line_entry; in GetLineEntryAtIndex()
87 LineEntry found_line_entry; in FindLineEntryIndex()
115 LineEntry line_entry; in FindLineEntryIndex()
/openbsd-src/gnu/llvm/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);
/openbsd-src/gnu/llvm/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 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 {
/openbsd-src/gnu/llvm/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()
105 bool LineEntry::GetDescription(Stream *s, lldb::DescriptionLevel level, in GetDescription()
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()
[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.cpp263 LineEntry line_entry; in GetStartLineSourceInfo()
286 LineEntry line_entry; in GetEndLineSourceInfo()
536 LineEntry first_line_entry; in GetPrologueByteSize()
555 LineEntry line_entry; in GetPrologueByteSize()
575 LineEntry line_entry; in GetPrologueByteSize()
602 LineEntry line_entry; in GetPrologueByteSize()
616 LineEntry first_non_zero_entry; in GetPrologueByteSize()
H A DSymbolContext.cpp33 Block *b, LineEntry *le, Symbol *s) in SymbolContext()
42 LineEntry *le, Symbol *s) in SymbolContext()
371 LineEntry::Compare(lhs.line_entry, rhs.line_entry) == 0 && in operator ==()
671 LineEntry SymbolContext::GetFunctionStartLineEntry() const { in GetFunctionStartLineEntry()
672 LineEntry line_entry; in GetFunctionStartLineEntry()
681 return LineEntry(); in GetFunctionStartLineEntry()
691 return LineEntry(); in GetFunctionStartLineEntry()
713 LineEntry this_line; in GetAddressRangeFromHereToEndLine()
718 if (LineEntry::Compare(this_line, line_entry) == 0) { in GetAddressRangeFromHereToEndLine()
724 LineEntry end_entry; in GetAddressRangeFromHereToEndLine()
H A DCMakeLists.txt22 LineEntry.cpp
H A DCompileUnit.cpp232 LineEntry *line_entry_ptr) { in FindLineEntry()
301 LineEntry line_entry; in ResolveSymbolContext()
/openbsd-src/gnu/llvm/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
/openbsd-src/gnu/llvm/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;
/openbsd-src/gnu/llvm/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.cpp182 std::optional<LineEntry> LineEntry; in lookup() local
203 LineEntry = ExpectedLE.get(); in lookup()
220 if (!LineEntry) { in lookup()
230 std::optional<FileEntry> LineEntryFile = GR.getFile(LineEntry->File); in lookup()
234 LineEntry->File); in lookup()
241 SrcLoc.Line = LineEntry->Line; in lookup()
/openbsd-src/gnu/llvm/llvm/lib/MC/
H A DMCDwarf.cpp104 MCDwarfLineEntry LineEntry(LineSym, DwarfLoc); in make() local
113 .addLineEntry(LineEntry, Section); in make()
185 for (const MCDwarfLineEntry &LineEntry : LineEntries) { in emitOne() local
186 MCSymbol *Label = LineEntry.getLabel(); in emitOne()
188 if (LineEntry.IsEndEntry) { in emitOne()
196 int64_t LineDelta = static_cast<int64_t>(LineEntry.getLine()) - LastLine; in emitOne()
198 if (FileNum != LineEntry.getFileNum()) { in emitOne()
199 FileNum = LineEntry.getFileNum(); in emitOne()
203 if (Column != LineEntry.getColumn()) { in emitOne()
204 Column = LineEntry.getColumn(); in emitOne()
[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()
/openbsd-src/gnu/llvm/lldb/source/Target/
H A DThreadPlanStepOverRange.cpp232 LineEntry line_entry; in ShouldStop()
235 LineEntry next_line_entry; in ShouldStop()
244 LineEntry prev_line_entry; in ShouldStop()
/openbsd-src/gnu/llvm/lldb/include/lldb/Core/
H A DAddress.h30 struct LineEntry;
491 bool CalculateSymbolContextLineEntry(LineEntry &line_entry) const;
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/PDB/
H A DPDBContext.cpp87 DILineInfo LineEntry = getLineInfoForAddress( in getLineInfoForAddressRange() local
89 Table.push_back(std::make_pair(LineInfo->getVirtualAddress(), LineEntry)); in getLineInfoForAddressRange()
/openbsd-src/gnu/usr.bin/clang/liblldbSymbol/
H A DMakefile21 LineEntry.cpp \
/openbsd-src/gnu/llvm/lldb/source/Plugins/LanguageRuntime/CPlusPlus/
H A DCPPLanguageRuntime.h34 LineEntry callable_line_entry;
/openbsd-src/gnu/llvm/llvm/utils/gn/secondary/lldb/source/Symbol/
H A DBUILD.gn27 "LineEntry.cpp",

123