LLVM 22.0.0git
|
This file implements the VirtualOutputBackend types, including: More...
#include "llvm/Support/VirtualOutputBackends.h"
#include "llvm/ADT/ScopeExit.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/LockFileManager.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/Process.h"
#include "llvm/Support/Signals.h"
#include "llvm/Support/VirtualOutputConfig.h"
#include "llvm/Support/VirtualOutputError.h"
Go to the source code of this file.
Functions | |
static OutputConfig | applySettings (std::optional< OutputConfig > &&Config, const OnDiskOutputBackend::OutputSettings &Settings) |
static Error | createDirectoriesOnDemand (StringRef OutputPath, OutputConfig Config, llvm::function_ref< Error()> CreateFile) |
static Expected< FileDifference > | areFilesDifferent (const llvm::Twine &Source, const llvm::Twine &Destination) |
This file implements the VirtualOutputBackend types, including:
Definition in file VirtualOutputBackends.cpp.
|
static |
|
static |
Definition at line 380 of file VirtualOutputBackends.cpp.
References llvm::sys::fs::mapped_file_region::const_data(), llvm::sys::fs::convertFDToNativeFile(), llvm::vfs::convertToOutputError(), llvm::sys::fs::equivalent(), llvm::sys::fs::basic_file_status::getSize(), memcmp, llvm::sys::fs::openFileForRead(), llvm::sys::fs::mapped_file_region::readonly, Size, and llvm::sys::fs::status().
|
static |
Definition at line 242 of file VirtualOutputBackends.cpp.
References llvm::sys::fs::create_directories(), llvm::Error, llvm::handleErrors(), llvm::make_error(), and llvm::sys::path::parent_path().