Merge pull request #62185 from xymus/improve-rmodule-loading

Improve `-Rmodule-loading` to show both the path to the source and to the cached file actually loaded
This commit is contained in:
Alexis Laferrière
2022-11-28 14:25:15 -08:00
committed by GitHub
18 changed files with 144 additions and 35 deletions

View File

@@ -1582,6 +1582,10 @@ StringRef SerializedASTFile::getFilename() const {
return File.getModuleFilename();
}
StringRef SerializedASTFile::getLoadedFilename() const {
return File.getModuleLoadedFilename();
}
StringRef SerializedASTFile::getTargetTriple() const {
return File.getTargetTriple();
}