20 :
Stream(flags, addr_size, byte_order) {
30 m_file_sp = std::make_shared<NativeFile>(fh, transfer_ownership);
42 "Cannot open {1}: {0}", path);
#define LLDB_LOG_ERROR(log, error,...)
int Open(const char *path, int flags, int mode=0600)
Wraps ::open in a platform-independent way.
static FileSystem & Instance()
StreamFile(uint32_t flags, uint32_t addr_size, lldb::ByteOrder byte_order)
std::shared_ptr< File > m_file_sp
void Flush() override
Flush the stream.
size_t WriteImpl(const void *s, size_t length) override
Output character bytes to the stream.
A stream class that can stream formatted output to a file.
A class that represents a running process on the host machine.
Log * GetLog(Cat mask)
Retrieve the Log object for the channel associated with the given log enum.
ByteOrder
Byte ordering definitions.