We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c580ad4 commit d83441aCopy full SHA for d83441a
llvm/lib/Support/FileCollector.cpp
@@ -68,9 +68,8 @@ void FileCollector::PathCanonicalizer::updateWithRealPath(
68
SmallString<256> RealPath;
69
auto DirWithSymlink = CachedDirs.find(Directory);
70
if (DirWithSymlink == CachedDirs.end()) {
71
- // FIXME: Should this be a call to FileSystem::getRealpath(), in some
72
- // cases? What if there is nothing on disk?
73
- if (sys::fs::real_path(Directory, RealPath))
+ // FIXME: What if there is nothing on disk?
+ if (VFS->getRealPath(Directory, RealPath))
74
return;
75
CachedDirs[Directory] = std::string(RealPath);
76
} else {
0 commit comments