LLVM 20.0.0git
Functions
FileOutputBuffer.cpp File Reference
#include "llvm/Support/FileOutputBuffer.h"
#include "llvm/Support/Errc.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/Memory.h"
#include "llvm/Support/TimeProfiler.h"
#include <system_error>
#include <unistd.h>

Go to the source code of this file.

Functions

static Expected< std::unique_ptr< InMemoryBuffer > > createInMemoryBuffer (StringRef Path, size_t Size, unsigned Mode)
 
static Expected< std::unique_ptr< FileOutputBuffer > > createOnDiskBuffer (StringRef Path, size_t Size, unsigned Mode)
 

Function Documentation

◆ createInMemoryBuffer()

static Expected< std::unique_ptr< InMemoryBuffer > > createInMemoryBuffer ( StringRef  Path,
size_t  Size,
unsigned  Mode 
)
static

◆ createOnDiskBuffer()

static Expected< std::unique_ptr< FileOutputBuffer > > createOnDiskBuffer ( StringRef  Path,
size_t  Size,
unsigned  Mode 
)
static