llvm/lldb/source/Host/common/StreamFile.cpp

//===-- StreamFile.cpp ----------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#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) {}