#include "FifoFiles.h"
#if !defined(_WIN32)
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#endif
#include <chrono>
#include <fstream>
#include <future>
#include <optional>
#include <thread>
#include "llvm/Support/FileSystem.h"
#include "lldb/lldb-defines.h"
usingnamespacellvm;
namespace lldb_dap {
FifoFile::FifoFile(StringRef path) : … { … }
FifoFile::~FifoFile() { … }
Expected<std::shared_ptr<FifoFile>> CreateFifoFile(StringRef path) { … }
FifoFileIO::FifoFileIO(StringRef fifo_file, StringRef other_endpoint_name)
: … { … }
Expected<json::Value> FifoFileIO::ReadJSON(std::chrono::milliseconds timeout) { … }
Error FifoFileIO::SendJSON(const json::Value &json,
std::chrono::milliseconds timeout) { … }
}