42 const char *current_line_cstr,
49 return target_sp->GetSourceManager().DisplaySourceLinesWithLineNumbers(
50 file, line, column, context_before, context_after, current_line_cstr,
55 return debugger_sp->GetSourceManager()
56 .DisplaySourceLinesWithLineNumbers(file, line, column,
57 context_before, context_after,
58 current_line_cstr, s);
108 current_line_cstr, s);
112 file.
ref(), line, column, context_before, context_after,
113 current_line_cstr, s);
119 const char *current_line_cstr,
SBStream &s) {
121 current_line_cstr, s);
126 return m_opaque_up->DisplaySourceLinesWithLineNumbers(
127 file.
ref(), line, column, context_before, context_after,
128 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.