LLVM 20.0.0git
|
#include "llvm/Support/FileCollector.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/Twine.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/Process.h"
Go to the source code of this file.
Classes | |
class | llvm::FileCollectorFileSystem |
Namespaces | |
namespace | llvm |
This is an optimization pass for GlobalISel generic memory operations. | |
Functions | |
static bool | isCaseSensitivePath (StringRef Path) |
static void | makeAbsolute (SmallVectorImpl< char > &Path) |
Make Path absolute. | |
static std::error_code | copyAccessAndModificationTime (StringRef Filename, const sys::fs::file_status &Stat) |
Set the access and modification time for the given file from the given status object. | |
|
static |
Set the access and modification time for the given file from the given status object.
Definition at line 160 of file FileCollector.cpp.
References llvm::sys::fs::CD_OpenExisting, llvm::sys::fs::openFileForWrite(), llvm::sys::Process::SafelyCloseFileDescriptor(), and llvm::sys::fs::setLastAccessAndModificationTime().
Referenced by llvm::FileCollector::copyFiles().
Definition at line 34 of file FileCollector.cpp.
References llvm::sys::fs::real_path().
Referenced by llvm::FileCollector::writeMapping().
|
static |
Make Path absolute.
Definition at line 91 of file FileCollector.cpp.
References llvm::StringRef::begin(), llvm::sys::fs::make_absolute(), llvm::sys::path::native, and llvm::sys::path::remove_leading_dotslash().
Referenced by llvm::FileCollector::PathCanonicalizer::canonicalize(), llvm::vfs::InMemoryFileSystem::getRealPath(), and llvm::vfs::InMemoryFileSystem::setCurrentWorkingDirectory().