38 uint32_t line, uint32_t column,
39 uint32_t context_before,
40 uint32_t context_after,
41 const char *current_line_cstr,
48 return target_sp->GetSourceManager().DisplaySourceLinesWithLineNumbers(
49 file, line, column, context_before, context_after, current_line_cstr,
54 return debugger_sp->GetSourceManager()
55 .DisplaySourceLinesWithLineNumbers(file, line, column,
56 context_before, context_after,
57 current_line_cstr, s);
104 const SBFileSpec &file, uint32_t line, uint32_t context_before,
105 uint32_t context_after,
const char *current_line_cstr,
SBStream &s) {
107 current_line_cstr, s);
109 const uint32_t column = 0;
111 file.
ref(), line, column, context_before, context_after,
112 current_line_cstr, s);
116 const SBFileSpec &file, uint32_t line, uint32_t column,
117 uint32_t context_before, uint32_t context_after,
118 const char *current_line_cstr,
SBStream &s) {
120 current_line_cstr, s);
125 return m_opaque_up->DisplaySourceLinesWithLineNumbers(
126 file.
ref(), line, column, context_before, context_after,
127 current_line_cstr, s.
get());
#define LLDB_INSTRUMENT_VA(...)
const lldb::DebuggerSP & get_sp() const
const lldb_private::FileSpec & ref() const
size_t DisplaySourceLinesWithLineNumbersAndColumn(const lldb::SBFileSpec &file, uint32_t line, uint32_t column, uint32_t context_before, uint32_t context_after, const char *current_line_cstr, lldb::SBStream &s)
std::unique_ptr< lldb_private::SourceManagerImpl > m_opaque_up
size_t DisplaySourceLinesWithLineNumbers(const lldb::SBFileSpec &file, uint32_t line, uint32_t context_before, uint32_t context_after, const char *current_line_cstr, lldb::SBStream &s)
SBSourceManager(const SBDebugger &debugger)
const lldb::SBSourceManager & operator=(const lldb::SBSourceManager &rhs)
lldb_private::Stream * get()
lldb::TargetSP GetSP() const
lldb::DebuggerWP m_debugger_wp
SourceManagerImpl(const SourceManagerImpl &rhs)
lldb::TargetWP m_target_wp
SourceManagerImpl(const lldb::TargetSP &target_sp)
SourceManagerImpl(const lldb::DebuggerSP &debugger_sp)
size_t DisplaySourceLinesWithLineNumbers(const lldb_private::FileSpec &file, uint32_t line, uint32_t column, uint32_t context_before, uint32_t context_after, const char *current_line_cstr, lldb_private::Stream *s)
A stream class that can stream formatted output to a file.
A class that represents a running process on the host machine.
std::weak_ptr< lldb_private::Debugger > DebuggerWP
std::shared_ptr< lldb_private::Debugger > DebuggerSP
std::weak_ptr< lldb_private::Target > TargetWP
std::shared_ptr< lldb_private::Target > TargetSP