#include "lldb/Host/StreamFile.h"
#include "lldb/Host/FileSystem.h"
#include "lldb/Utility/LLDBLog.h"
#include "lldb/Utility/Log.h"
#include <cstdio>
usingnamespacelldb;
usingnamespacelldb_private;
StreamFile::StreamFile(uint32_t flags, uint32_t addr_size, ByteOrder byte_order)
: … { … }
StreamFile::StreamFile(int fd, bool transfer_ownership) : … { … }
StreamFile::StreamFile(FILE *fh, bool transfer_ownership) : … { … }
StreamFile::StreamFile(const char *path, File::OpenOptions options,
uint32_t permissions)
: … { … }
StreamFile::~StreamFile() = default;
void StreamFile::Flush() { … }
size_t StreamFile::WriteImpl(const void *s, size_t length) { … }