Home
last modified time | relevance | path

Searched refs:FileSystem (Results 1 – 25 of 208) sorted by relevance

123456789

/freebsd/contrib/llvm-project/lldb/source/Host/common/
H A DFileSystem.cpp1 //===-- FileSystem.cpp ----------------------------------------------------===//
9 #include "lldb/Host/FileSystem.h"
16 #include "llvm/Support/FileSystem.h"
45 FileSystem &FileSystem::Instance() { return *InstanceImpl(); } in Instance()
47 void FileSystem::Terminate() { in Terminate()
52 std::optional<FileSystem> &FileSystem::InstanceImpl() { in InstanceImpl()
53 static std::optional<FileSystem> g_fs; in InstanceImpl()
57 vfs::directory_iterator FileSystem
[all...]
H A DMonitoringProcessLauncher.cpp32 FileSystem &fs = FileSystem::Instance(); in LaunchProcess()
36 FileSystem::Instance().Resolve(exe_spec); in LaunchProcess()
39 FileSystem::Instance().ResolveExecutableLocation(exe_spec); in LaunchProcess()
/freebsd/contrib/llvm-project/lldb/include/lldb/Host/
H A DFileSystem.h30 class FileSystem {
35 FileSystem() in FileSystem() function
38 FileSystem(llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> fs) in FileSystem() function
41 FileSystem(std::unique_ptr<TildeExpressionResolver> tilde_resolver) in FileSystem() function
45 FileSystem(const FileSystem &fs) = delete;
46 FileSystem &operator=(const FileSystem &fs) = delete;
48 static FileSystem &Instance();
201 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> GetVirtualFileSystem() { in GetVirtualFileSystem()
208 static std::optional<FileSystem> &InstanceImpl();
209 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> m_fs;
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolLocator/Default/
H A DSymbolLocatorDefault.cpp102 FileSystem::Instance().Exists(symbol_file_spec)) in LocateExecutableSymbolFile()
114 FileSystem::Instance().ResolveSymbolicLink(module_file_spec, in LocateExecutableSymbolFile()
120 FileSystem::Instance().Resolve(file_spec); in LocateExecutableSymbolFile()
129 FileSystem::Instance().Resolve(file_spec); in LocateExecutableSymbolFile()
138 FileSystem::Instance().Resolve(file_spec); in LocateExecutableSymbolFile()
145 FileSystem::Instance().Resolve(file_spec); in LocateExecutableSymbolFile()
161 FileSystem::Instance().Resolve(file_spec); in LocateExecutableSymbolFile()
185 FileSystem::Instance().Resolve(dirspec); in LocateExecutableSymbolFile()
186 if (!FileSystem::Instance().IsDirectory(dirspec)) in LocateExecutableSymbolFile()
211 FileSystem::Instance().Resolve(file_spec); in LocateExecutableSymbolFile()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Symbol/
H A DLocateSymbolFile.cpp
H A DLocateSymbolFileMacOSX.cpp
/freebsd/contrib/llvm-project/lldb/source/Host/posix/
H A DFileSystemPosix.cpp26 const char *FileSystem::DEV_NULL = "/dev/null";
28 Status FileSystem::Symlink(const FileSpec &src, const FileSpec &dst) { in Symlink()
35 Status FileSystem::Readlink(const FileSpec &src, FileSpec &dst) { in Readlink()
48 Status FileSystem::ResolveSymbolicLink(const FileSpec &src, FileSpec &dst) { in ResolveSymbolicLink()
65 FILE *FileSystem::Fopen(const char *path, const char *mode) { in Fopen()
69 int FileSystem::Open(const char *path, int flags, int mode) { in Open()
/freebsd/contrib/llvm-project/llvm/include/llvm/WindowsDriver/
H A DMSVCPaths.h22 class FileSystem; variable
68 llvm::vfs::FileSystem &VFS);
71 LLVM_ABI bool getWindowsSDKDir(vfs::FileSystem &VFS,
80 getUniversalCRTSdkDir(vfs::FileSystem &VFS,
88 findVCToolChainViaCommandLine(vfs::FileSystem &VFS,
95 LLVM_ABI bool findVCToolChainViaEnvironment(vfs::FileSystem &VFS,
106 findVCToolChainViaSetupConfig(vfs::FileSystem &VFS,
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolLocator/DebugSymbols/
H A DSymbolLocatorDebugSymbols.cpp153 FileSystem::Instance().Resolve(dsym_filespec); in LocateExecutableObjectFile()
155 if (FileSystem::Instance().IsDirectory(dsym_filespec)) { in LocateExecutableObjectFile()
186 if (FileSystem::Instance().Exists(module_spec.GetFileSpec())) { in LocateExecutableObjectFile()
235 FileSystem::Instance().Resolve(exec_filespec); in LocateExecutableObjectFile()
236 if (FileSystem::Instance().Exists(exec_filespec)) { in LocateExecutableObjectFile()
255 FileSystem::Instance().Resolve(file_spec); in LocateExecutableObjectFile()
271 FileSystem::Instance().Resolve(bundle_exe_file_spec); in LocateExecutableObjectFile()
336 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> vfs = in FindSymbolFileInBundle()
337 FileSystem::Instance().GetVirtualFileSystem(); in FindSymbolFileInBundle()
408 if (FileSystem::Instance().Exists(dsym_directory)) { in LookForDsymNextToExecutablePath()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Frontend/
H A DPrecompiledPreamble.h30 class FileSystem; variable
88 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS,
114 PreambleBounds Bounds, llvm::vfs::FileSystem &VFS) const;
125 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS,
132 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS,
174 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS,
183 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS);
H A DCompilerInvocation.h41 class FileSystem; variable
388 IntrusiveRefCntPtr<llvm::vfs::FileSystem>
392 IntrusiveRefCntPtr<llvm::vfs::FileSystem> createVFSFromCompilerInvocation(
394 IntrusiveRefCntPtr<llvm::vfs::FileSystem> BaseFS);
396 IntrusiveRefCntPtr<llvm::vfs::FileSystem>
399 IntrusiveRefCntPtr<llvm::vfs::FileSystem> BaseFS);
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DVirtualFileSystem.h217 class FileSystem; variable
232 FileSystem *FS;
237 LLVM_ABI recursive_directory_iterator(FileSystem &FS, const Twine &Path,
267 class LLVM_ABI FileSystem : public llvm::ThreadSafeRefCountedBase<FileSystem>,
268 public RTTIExtends<FileSystem, RTTIRoot> {
271 virtual ~FileSystem();
347 using VisitCallbackTy = llvm::function_ref<void(FileSystem &)>;
375 LLVM_ABI IntrusiveRefCntPtr<FileSystem> getRealFileSystem();
381 LLVM_ABI std::unique_ptr<FileSystem> createPhysicalFileSystem();
394 : public RTTIExtends<OverlayFileSystem, FileSystem> {
[all …]
H A DFileCollector.h42 IntrusiveRefCntPtr<vfs::FileSystem> FS,
110 static IntrusiveRefCntPtr<vfs::FileSystem>
111 createCollectorVFS(IntrusiveRefCntPtr<vfs::FileSystem> BaseFS,
129 IntrusiveRefCntPtr<vfs::FileSystem> FS,
H A DPGOOptions.h24 class FileSystem; variable
35 IntrusiveRefCntPtr<vfs::FileSystem> FS,
56 IntrusiveRefCntPtr<vfs::FileSystem> FS;
H A DSpecialCaseList.h29 class FileSystem; variable
77 create(const std::vector<std::string> &Paths, llvm::vfs::FileSystem &FS,
86 createOrDie(const std::vector<std::string> &Paths, llvm::vfs::FileSystem &FS);
114 vfs::FileSystem &VFS, std::string &Error);
/freebsd/contrib/llvm-project/lldb/source/API/
H A DSBFileSpec.cpp43 FileSystem::Instance().Resolve(*m_opaque_up); in SBFileSpec()
51 FileSystem::Instance().Resolve(*m_opaque_up); in SBFileSpec()
89 return FileSystem::Instance().Exists(*m_opaque_up); in Exists()
95 return FileSystem::Instance().ResolveExecutableLocation(*m_opaque_up); in ResolveExecutableLocation()
103 FileSystem::Instance().Resolve(result); in ResolvePath()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangHost.cpp32 if (FileSystem::Instance().IsDirectory(clang_path)) in VerifyClangPath()
80 FileSystem::Instance().Resolve(file_spec); in DefaultComputeClangResourceDirectory()
128 FileSystem::Instance().Resolve(file_spec); in ComputeClangResourceDirectory()
143 FileSystem::Instance().Resolve(file_spec); in ComputeClangResourceDirectory()
154 FileSystem::Instance().Resolve(file_spec); in ComputeClangResourceDirectory()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DSampleProfile.h36 class FileSystem; variable
45 IntrusiveRefCntPtr<vfs::FileSystem> FS = nullptr,
55 IntrusiveRefCntPtr<vfs::FileSystem> FS;
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Instrumentation/
H A DMemProfUse.h28 class FileSystem; variable
35 IntrusiveRefCntPtr<vfs::FileSystem> FS = nullptr);
40 IntrusiveRefCntPtr<vfs::FileSystem> FS;
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DSanitizerSpecialCaseList.h27 class FileSystem; variable
36 create(const std::vector<std::string> &Paths, llvm::vfs::FileSystem &VFS,
41 llvm::vfs::FileSystem &VFS);
H A DFileSystemStatCache.h54 llvm::vfs::FileSystem &FS, bool IsText = true);
63 llvm::vfs::FileSystem &FS) = 0;
84 llvm::vfs::FileSystem &FS) override;
H A DFileManager.h54 IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS;
143 IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS = nullptr);
219 llvm::vfs::FileSystem &getVirtualFileSystem() const { return *FS; } in getVirtualFileSystem()
220 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>
229 void setVirtualFileSystem(IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS) { in setVirtualFileSystem()
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/DependencyScanning/
H A DDependencyScanningWorker.h90 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS);
139 llvm::vfs::FileSystem &getVFS() const { return *BaseFS; } in getVFS()
148 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> BaseFS;
160 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS,
/freebsd/contrib/llvm-project/clang/lib/Tooling/
H A DExpandResponseFilesCompilationDatabase.cpp26 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS) in ExpandResponseFilesDatabase()
57 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS;
64 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS) { in expandResponseFiles()
/freebsd/contrib/llvm-project/lldb/source/Interpreter/
H A DOptionValueFileSpec.cpp65 FileSystem::Instance().Resolve(m_current_value); in SetValueFromString()
93 const auto file_mod_time = FileSystem::Instance().GetModificationTime(m_current_value); in GetFileContents()
97 FileSystem::Instance().CreateDataBuffer(m_current_value.GetPath()); in GetFileContents()

123456789