Home
last modified time | relevance | path

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

12345678910>>...12

/llvm-project-15.0.7/lldb/source/Host/common/
H A DFileSystem.cpp46 FileSystem &FileSystem::Instance() { return *InstanceImpl(); } in Instance()
48 void FileSystem::Initialize() { in Initialize()
53 void FileSystem::Initialize(IntrusiveRefCntPtr<vfs::FileSystem> fs) { in Initialize()
58 void FileSystem::Terminate() { in Terminate()
63 Optional<FileSystem> &FileSystem::InstanceImpl() { in InstanceImpl()
64 static Optional<FileSystem> g_fs; in InstanceImpl()
84 FileSystem::GetStatus(const FileSpec &file_spec) const { in GetStatus()
138 uint32_t FileSystem::GetPermissions(const Twine &path, in GetPermissions()
154 bool FileSystem::Readable(const Twine &path) const { in Readable()
173 bool FileSystem::IsLocal(const Twine &path) const { in IsLocal()
[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()
/llvm-project-15.0.7/clang-tools-extra/unittests/clang-tidy/
H A DOptionsProviderTest.cpp20 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> FileSystem( in TEST() local
34 FileSystem->addFile("ProjectRoot/.clang-tidy", 0, in TEST()
36 FileSystem->addFile("ProjectRoot/SubDir1/.clang-tidy", 0, in TEST()
38 FileSystem->addFile("ProjectRoot/SubDir1/File.cpp", 0, in TEST()
40 FileSystem->addFile("ProjectRoot/SubDir1/SubDir2/.clang-tidy", 0, in TEST()
42 FileSystem->addFile("ProjectRoot/SubDir1/SubDir2/File.cpp", 0, in TEST()
44 FileSystem->addFile("ProjectRoot/SubDir1/SubDir2/SubDir3/File.cpp", 0, in TEST()
47 FileOptionsProvider FileOpt({}, {}, {}, FileSystem); in TEST()
/llvm-project-15.0.7/lldb/include/lldb/Host/
H A DFileSystem.h28 class FileSystem {
33 FileSystem() : m_fs(llvm::vfs::getRealFileSystem()) {} in FileSystem() function
34 FileSystem(llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> fs) in FileSystem() function
37 FileSystem(const FileSystem &fs) = delete;
38 FileSystem &operator=(const FileSystem &fs) = delete;
40 static FileSystem &Instance();
43 static void Initialize(llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> fs);
191 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> GetVirtualFileSystem() { in GetVirtualFileSystem()
198 static llvm::Optional<FileSystem> &InstanceImpl();
199 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> m_fs;
/llvm-project-15.0.7/lldb/source/Plugins/Platform/MacOSX/
H A DPlatformDarwinKernel.cpp366 FileSystem::Instance().Resolve(cwd); in CollectKextAndKernelDirectories()
377 FileSystem::Instance().Resolve(dir); in GetUserSpecifiedDirectoriesToSearch()
394 FileSystem::Instance().Resolve(testdir); in AddRootSubdirsToSearchPaths()
409 FileSystem::Instance().EnumerateDirectory( in AddSDKSubdirsToSearchPaths()
415 FileSystem::EnumerateDirectoryResult
440 FileSystem::Instance().EnumerateDirectory( in SearchForKextsAndKernelsRecursively()
464 FileSystem::EnumerateDirectoryResult
470 FileSystem::EnumerateDirectoryResult
476 FileSystem::EnumerateDirectoryResult
633 FileSystem::Instance().Resolve(dsym_fspec); in KextHasdSYMSibling()
[all …]
H A DPlatformDarwinDevice.cpp23 FileSystem::EnumerateDirectoryResult
28 return FileSystem::eEnumerateDirectoryResultNext; in GetContainedFilesIntoVectorOfStringsCallback()
38 FileSystem::Instance().Resolve(sdk_sysroot_fspec); in UpdateSDKDirectoryInfosIfNeeded()
62 FileSystem::Instance().EnumerateDirectory( in UpdateSDKDirectoryInfosIfNeeded()
90 FileSystem::Instance().Resolve(local_sdk_cache); in UpdateSDKDirectoryInfosIfNeeded()
91 if (FileSystem::Instance().Exists(local_sdk_cache)) { in UpdateSDKDirectoryInfosIfNeeded()
100 FileSystem::Instance().EnumerateDirectory( in UpdateSDKDirectoryInfosIfNeeded()
122 FileSystem::Instance().EnumerateDirectory( in UpdateSDKDirectoryInfosIfNeeded()
338 FileSystem::Instance().Resolve(device_support_spec); in GetSharedModuleWithLocalCache()
339 if (FileSystem::Instance().Exists(device_support_spec)) { in GetSharedModuleWithLocalCache()
[all …]
H A DPlatformRemoteDarwinDevice.cpp78 if (FileSystem::Instance().Exists(resolved_module_spec.GetFileSpec())) { in ResolveExecutable()
110 if (FileSystem::Instance().Readable(resolved_module_spec.GetFileSpec())) { in ResolveExecutable()
150 FileSystem::Instance().Resolve(local_file); in GetFileInSDK()
151 if (FileSystem::Instance().Exists(local_file)) { in GetFileInSDK()
176 FileSystem::Instance().Resolve(local_file); in GetSymbolFile()
177 if (FileSystem::Instance().Exists(local_file)) { in GetSymbolFile()
190 FileSystem::Instance().Resolve(local_file); in GetSymbolFile()
191 if (FileSystem::Instance().Exists(local_file)) { in GetSymbolFile()
203 FileSystem::Instance().Resolve(local_file); in GetSymbolFile()
204 if (FileSystem::Instance().Exists(local_file)) { in GetSymbolFile()
[all …]
H A DPlatformDarwin.cpp219 FileSystem::Instance().Exists(symfile_spec)) { in LocateExecutableScriptingResources()
263 FileSystem::Instance().Resolve(script_fspec); in LocateExecutableScriptingResources()
265 FileSystem::Instance().Resolve(orig_script_fspec); in LocateExecutableScriptingResources()
325 if (FileSystem::Instance().IsDirectory(sym_file)) { in ResolveSymbolFile()
622 if (FileSystem::Instance().Exists(xcode_select_cmd)) { in GetXcodeSelectPath()
759 if (!FileSystem::Instance().IsDirectory(sdks_spec)) { in FindSDKInXcodeForModules()
771 FileSystem::Instance().EnumerateDirectory( in FindSDKInXcodeForModules()
816 if (!FileSystem::Instance().Exists(sdks_spec)) { in GetSDKDirectoryForModules()
830 if (FileSystem::Instance().Exists(native_sdk_spec)) { in GetSDKDirectoryForModules()
1167 if (FileSystem::Instance().Exists(executable_file)) in LocateExecutable()
[all …]
/llvm-project-15.0.7/lldb/source/Symbol/
H A DLocateSymbolFile.cpp93 if (FileSystem::Instance().Exists(dsym_directory)) { in LookForDsymNextToExecutablePath()
99 if (FileSystem::Instance().Exists(dsym_fspec) && in LookForDsymNextToExecutablePath()
115 if (FileSystem::Instance().Exists(dsym_fspec) && in LookForDsymNextToExecutablePath()
131 if (FileSystem::Instance().Exists(dsym_yaa_fspec)) { in LookForDsymNextToExecutablePath()
282 FileSystem::Instance().Resolve(file_spec); in LocateExecutableSymbolFile()
291 FileSystem::Instance().Resolve(file_spec); in LocateExecutableSymbolFile()
300 FileSystem::Instance().Resolve(file_spec); in LocateExecutableSymbolFile()
307 FileSystem::Instance().Resolve(file_spec); in LocateExecutableSymbolFile()
329 FileSystem::Instance().Resolve(dirspec); in LocateExecutableSymbolFile()
330 if (!FileSystem::Instance().IsDirectory(dirspec)) in LocateExecutableSymbolFile()
[all …]
H A DLocateSymbolFileMacOSX.cpp119 FileSystem::Instance().Resolve(dsym_filespec); in LocateMacOSXFilesUsingDebugSymbols()
121 if (FileSystem::Instance().IsDirectory(dsym_filespec)) { in LocateMacOSXFilesUsingDebugSymbols()
201 FileSystem::Instance().Resolve(exec_filespec); in LocateMacOSXFilesUsingDebugSymbols()
202 if (FileSystem::Instance().Exists(exec_filespec)) { in LocateMacOSXFilesUsingDebugSymbols()
221 FileSystem::Instance().Resolve(file_spec); in LocateMacOSXFilesUsingDebugSymbols()
300 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> vfs = in FindSymbolFileInBundle()
301 FileSystem::Instance().GetVirtualFileSystem(); in FindSymbolFileInBundle()
354 FileSystem::Instance().Resolve(module_spec.GetFileSpec()); in GetModuleSpecInfoFromUUIDDictionary()
484 FileSystem::Instance().Resolve(resolved_source_path); in GetModuleSpecInfoFromUUIDDictionary()
541 FileSystem::Instance().Resolve(dsym_for_uuid_exe_spec); in DownloadObjectAndSymbolFile()
[all …]
/llvm-project-15.0.7/lldb/source/Host/posix/
H A DFileSystemPosix.cpp34 const char *FileSystem::DEV_NULL = "/dev/null";
36 Status FileSystem::Symlink(const FileSpec &src, const FileSpec &dst) { in Symlink()
43 Status FileSystem::Readlink(const FileSpec &src, FileSpec &dst) { in Readlink()
56 Status FileSystem::ResolveSymbolicLink(const FileSpec &src, FileSpec &dst) { in ResolveSymbolicLink()
74 FILE *FileSystem::Fopen(const char *path, const char *mode) { in Fopen()
78 int FileSystem::Open(const char *path, int flags, int mode) { in Open()
/llvm-project-15.0.7/llvm/include/llvm/WindowsDriver/
H A DMSVCPaths.h21 class FileSystem; variable
64 llvm::vfs::FileSystem &VFS);
67 bool getWindowsSDKDir(vfs::FileSystem &VFS,
75 bool getUniversalCRTSdkDir(vfs::FileSystem &VFS,
84 vfs::FileSystem &VFS, llvm::Optional<llvm::StringRef> VCToolsDir,
90 bool findVCToolChainViaEnvironment(vfs::FileSystem &VFS, std::string &Path,
97 bool findVCToolChainViaSetupConfig(vfs::FileSystem &VFS, std::string &Path,
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DFS.h44 void update(const llvm::vfs::FileSystem &FS, llvm::vfs::Status S);
56 IntrusiveRefCntPtr<llvm::vfs::FileSystem>
57 getProducingFS(IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS);
62 IntrusiveRefCntPtr<llvm::vfs::FileSystem>
63 getConsumingFS(IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS) const;
H A DFS.cpp25 void PreambleFileStatusCache::update(const llvm::vfs::FileSystem &FS, in update()
53 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>
55 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS) { in getProducingFS()
60 CollectFS(llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS, in getProducingFS()
93 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>
95 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS) const { in getConsumingFS()
98 CacheVFS(llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS, in getConsumingFS()
/llvm-project-15.0.7/lldb/source/Host/windows/
H A DFileSystem.cpp25 const char *FileSystem::DEV_NULL = "nul";
27 const char *FileSystem::PATH_CONVERSION_ERROR =
30 Status FileSystem::Symlink(const FileSpec &src, const FileSpec &dst) { in Symlink()
51 Status FileSystem::Readlink(const FileSpec &src, FileSpec &dst) { in Readlink()
84 Status FileSystem::ResolveSymbolicLink(const FileSpec &src, FileSpec &dst) { in ResolveSymbolicLink()
88 FILE *FileSystem::Fopen(const char *path, const char *mode) { in Fopen()
100 int FileSystem::Open(const char *path, int flags, int mode) { in Open()
/llvm-project-15.0.7/clang-tools-extra/clangd/support/
H A DThreadsafeFS.h32 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>
40 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> view(PathRef CWD) const;
45 virtual llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> viewImpl() const = 0;
50 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> viewImpl() const override;
/llvm-project-15.0.7/lldb/source/Host/android/
H A DHostInfoAndroid.cpp44 FileSystem::Instance().Resolve(file_spec); in ResolveLibraryPath()
72 FileSystem::Instance().Resolve(file_candidate); in ResolveLibraryPath()
75 if (FileSystem::Instance().Exists(file_candidate)) in ResolveLibraryPath()
90 if (!success || !FileSystem::Instance().Exists(file_spec)) in ComputeTempFileBaseDirectory()
93 return FileSystem::Instance().Exists(file_spec); in ComputeTempFileBaseDirectory()
/llvm-project-15.0.7/clang/include/clang/Frontend/
H A DPrecompiledPreamble.h30 class FileSystem; variable
84 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS,
109 PreambleBounds Bounds, llvm::vfs::FileSystem &VFS) const;
120 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS,
127 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS,
169 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS,
178 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS);
/llvm-project-15.0.7/lldb/unittests/Host/
H A DFileSystemTest.cpp160 FileSystem fs; in TEST()
187 FileSystem fs(GetSimpleDummyFS()); in TEST()
194 FileSystem fs(GetSimpleDummyFS()); in TEST()
204 FileSystem fs(GetSimpleDummyFS()); in TEST()
212 FileSystem fs(GetSimpleDummyFS()); in TEST()
220 FileSystem fs(GetSimpleDummyFS()); in TEST()
239 FileSystem fs(GetSimpleDummyFS()); in TEST()
268 FileSystem::EnumerateDirectoryResult
277 FileSystem fs(GetSimpleDummyFS()); in TEST()
298 FileSystem fs; in TEST()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DVirtualFileSystem.h218 class FileSystem; variable
233 FileSystem *FS;
268 class FileSystem : public llvm::ThreadSafeRefCountedBase<FileSystem> {
270 virtual ~FileSystem();
367 class OverlayFileSystem : public FileSystem {
424 class ProxyFileSystem : public FileSystem {
454 FileSystem &getUnderlyingFS() { return *FS; } in getUnderlyingFS()
457 IntrusiveRefCntPtr<FileSystem> FS;
502 class InMemoryFileSystem : public FileSystem {
616 std::unique_ptr<FileSystem>
[all …]
H A DFileCollector.h41 IntrusiveRefCntPtr<vfs::FileSystem> FS,
109 static IntrusiveRefCntPtr<vfs::FileSystem>
110 createCollectorVFS(IntrusiveRefCntPtr<vfs::FileSystem> BaseFS,
128 IntrusiveRefCntPtr<vfs::FileSystem> FS,
H A DSpecialCaseList.h67 class FileSystem; variable
75 create(const std::vector<std::string> &Paths, llvm::vfs::FileSystem &FS,
84 createOrDie(const std::vector<std::string> &Paths, llvm::vfs::FileSystem &FS);
111 vfs::FileSystem &VFS, std::string &Error);
/llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangHost.cpp31 if (FileSystem::Instance().IsDirectory(clang_path)) in VerifyClangPath()
76 FileSystem::Instance().Resolve(file_spec); in DefaultComputeClangResourceDirectory()
123 FileSystem::Instance().Resolve(file_spec); in ComputeClangResourceDirectory()
138 FileSystem::Instance().Resolve(file_spec); in ComputeClangResourceDirectory()
149 FileSystem::Instance().Resolve(file_spec); in ComputeClangResourceDirectory()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DSanitizerSpecialCaseList.h26 class FileSystem; variable
35 create(const std::vector<std::string> &Paths, llvm::vfs::FileSystem &VFS,
40 llvm::vfs::FileSystem &VFS);

12345678910>>...12