|
LLVM 24.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/IOSandbox.h"#include "llvm/Support/LockFileManager.h"#include "llvm/Support/MemoryBuffer.h"#include "llvm/Support/Path.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 sys::fs::OpenFlags | generateFlagsFromConfig (OutputConfig Config) |
| 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 384 of file VirtualOutputBackends.cpp.
References llvm::sys::fs::closeFile(), llvm::sys::fs::mapped_file_region::const_data(), llvm::consumeError(), llvm::vfs::convertToOutputError(), llvm::sys::fs::equivalent(), llvm::errorToErrorCode(), llvm::sys::fs::file_size(), llvm::sys::fs::openNativeFileForRead(), llvm::sys::fs::mapped_file_region::readonly, and llvm::Expected< T >::takeError().
|
static |
Definition at line 239 of file VirtualOutputBackends.cpp.
References llvm::sys::fs::create_directories(), llvm::Error, llvm::handleErrors(), llvm::make_error(), and llvm::sys::path::parent_path().
|
static |
Definition at line 254 of file VirtualOutputBackends.cpp.
References llvm::vfs::OutputConfig::getTextWithCRLF(), llvm::sys::fs::OF_Append, llvm::sys::fs::OF_None, llvm::sys::fs::OF_Text, and llvm::sys::fs::OF_TextWithCRLF.