LLDB mainline
|
This is a wrapper class that exposes a raw_ostream interface that just forwards to an LLDB stream, allowing to reuse LLVM algorithms that take a raw_ostream within the LLDB code base. More...
#include "lldb/Utility/Stream.h"
Public Member Functions | |
RawOstreamForward (Stream &target, bool colors=false) | |
Private Member Functions | |
void | write_impl (const char *Ptr, size_t Size) override |
uint64_t | current_pos () const override |
Private Attributes | |
Stream & | m_target |
This is a wrapper class that exposes a raw_ostream interface that just forwards to an LLDB stream, allowing to reuse LLVM algorithms that take a raw_ostream within the LLDB code base.
|
inline |
|
inlineoverrideprivate |
Definition at line 446 of file Stream.h.
References lldb_private::Stream::GetWrittenBytes(), and m_target.
|
inlineoverrideprivate |
Definition at line 442 of file Stream.h.
References m_target, and lldb_private::Stream::Write().
|
private |
Definition at line 441 of file Stream.h.
Referenced by current_pos(), and write_impl().