Home
last modified time | relevance | path

Searched refs:real_path (Results 1 – 25 of 26) sorted by relevance

12

/llvm-project-15.0.7/lldb/source/Host/posix/
H A DFileSystemPosix.cpp62 char real_path[PATH_MAX + 1]; in ResolveSymbolicLink() local
63 if (realpath(resolved_path, real_path) == nullptr) { in ResolveSymbolicLink()
69 dst = FileSpec(real_path); in ResolveSymbolicLink()
/llvm-project-15.0.7/llvm/utils/lit/lit/
H A Ddiscovery.py72 real_path = os.path.realpath(path)
73 res = cache.get(real_path)
75 cache[real_path] = res = search1(path)
/llvm-project-15.0.7/openmp/runtime/tools/lib/
H A Dtools.pm835 sub real_path($) { subroutine
838 my $real_path;
851 $real_path = Cwd::abs_path( $orig_path );
854 $real_path = File::Spec->catfile( $real_path, $file );
857 if ( not defined( $real_path ) or $message ne "" ) {
861 return $real_path;
/llvm-project-15.0.7/clang/lib/Frontend/
H A DModuleDependencyCollector.cpp115 if (llvm::sys::fs::real_path(Path, TmpDest)) in isCaseSensitivePath()
125 if (!llvm::sys::fs::real_path(UpperDest, RealDest) && Path.equals(RealDest)) in isCaseSensitivePath()
/llvm-project-15.0.7/llvm/lib/Support/
H A DFileCollector.cpp38 if (sys::fs::real_path(Path, TmpDest)) in isCaseSensitivePath()
47 if (!sys::fs::real_path(UpperDest, RealDest) && Path.equals(RealDest)) in isCaseSensitivePath()
70 if (sys::fs::real_path(Directory, RealPath)) in updateWithRealPath()
H A DVirtualFileSystem.cpp263 if (llvm::sys::fs::real_path(PWD, RealPWD)) in RealFileSystem()
347 if (auto Err = llvm::sys::fs::real_path(Absolute, Resolved)) in setCurrentWorkingDirectory()
362 return llvm::sys::fs::real_path(adjustPath(Path, Storage), Output); in getRealPath()
/llvm-project-15.0.7/lldb/source/Utility/
H A DTildeExpressionResolver.cpp39 return !fs::real_path(Expr, Output, true); in ResolveExact()
/llvm-project-15.0.7/clang/lib/Driver/ToolChains/
H A DPPCLinux.cpp27 if (fs::real_path(Linker, Path)) in GlibcSupportsFloat128()
H A DCuda.cpp154 llvm::sys::fs::real_path(*ptxas, ptxasAbsolutePath); in CudaInstallationDetector()
H A DAMDGPU.cpp256 llvm::sys::fs::real_path(D.getClangProgramPath(), RealClangPath); in getInstallationPathCandidates()
/llvm-project-15.0.7/llvm/tools/dsymutil/
H A DCFBundle.cpp122 sys::fs::real_path(Path, RealPath, /*expand_tilde*/ true); in SetFromPath()
/llvm-project-15.0.7/llvm/lib/Support/Unix/
H A DPath.inc276 if (char *real_path = realpath(exe_path, nullptr)) {
277 std::string ret = std::string(real_path);
278 free(real_path);
282 char real_path[PATH_MAX];
283 if (realpath(exe_path, real_path))
284 return std::string(real_path);
319 char real_path[PATH_MAX];
320 if (realpath(exe_path, real_path))
321 return std::string(real_path);
1306 std::error_code real_path(const Twine &path, SmallVectorImpl<char> &dest,
[all …]
/llvm-project-15.0.7/llvm/include/llvm/DWARFLinker/
H A DDWARFLinkerDeclContext.h45 sys::fs::real_path(ParentPath, RealPath); in resolve()
/llvm-project-15.0.7/llvm/include/llvm/Testing/Support/
H A DSupportHelpers.h129 EC = llvm::sys::fs::real_path(UnresolvedPath, Path);
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DCompileCommands.cpp80 if (llvm::sys::fs::real_path(Path, Resolved)) { in resolve()
180 if (!llvm::sys::fs::real_path(Driver, Resolved)) in resolveDriver()
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DCompileCommandsTests.cpp129 ASSERT_THAT(llvm::sys::fs::real_path(TempDir.str(), TempDir), ok()); in TEST()
/llvm-project-15.0.7/llvm/unittests/Support/
H A DPath.cpp751 ASSERT_NO_ERROR(fs::real_path(TestDirectory, RealBase)); in TEST_F()
755 ASSERT_NO_ERROR(fs::real_path( in TEST_F()
767 ASSERT_NO_ERROR(fs::real_path(HomeDir, Expected)); in TEST_F()
769 ASSERT_NO_ERROR(fs::real_path("~", Actual, true)); in TEST_F()
771 ASSERT_NO_ERROR(fs::real_path("~/", Actual, true)); in TEST_F()
814 ASSERT_NO_ERROR(fs::real_path(Twine(TestDirectory) + "/noreadperm", Expanded, in TEST_F()
/llvm-project-15.0.7/libcxx/src/filesystem/
H A Doperations.cpp988 const path real_path(__read_symlink(existing_symlink, ec)); in __copy_symlink() local
994 if (is_directory(real_path, local_ec)) in __copy_symlink()
995 __create_directory_symlink(real_path, new_symlink, ec); in __copy_symlink()
998 __create_symlink(real_path, new_symlink, ec); in __copy_symlink()
/llvm-project-15.0.7/lld/MachO/
H A DDriver.cpp128 if (!fs::real_path(symlink, location)) { in findFramework()
1241 if (!fs::real_path(config->osoPrefix, expanded, in link()
H A DInputFiles.cpp1686 fs::real_path(umbrella->getName(), newPath); in findDylib()
1694 fs::real_path(umbrella->getName(), newPath); in findDylib()
/llvm-project-15.0.7/clang-tools-extra/clangd/tool/
H A DClangdMain.cpp977 llvm::sys::fs::real_path(CheckFile, Path, /*expand_tilde=*/true)) { in main()
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DFileSystem.h346 std::error_code real_path(const Twine &path, SmallVectorImpl<char> &output,
/llvm-project-15.0.7/llvm/lib/Support/Windows/
H A DPath.inc1397 std::error_code real_path(const Twine &path, SmallVectorImpl<char> &dest,
1407 return real_path(Storage, dest, false);
/llvm-project-15.0.7/lldb/source/Plugins/ObjectFile/PECOFF/
H A DObjectFilePECOFF.cpp1089 if (!llvm::sys::fs::real_path(dll_specs.GetPath(), dll_fullpath)) in ParseDependentModules()
/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DGCOVProfiling.cpp487 if (sys::fs::real_path(Filename, RealPath)) { in isFunctionInstrumented()

12