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

@@ -712,6 +712,10 @@ public:
return Core->ModuleInputBuffer->getBufferIdentifier();
}
StringRef getModuleLoadedFilename() const {
return Core->ModuleInputBuffer->getBufferIdentifier();
}
StringRef getTargetTriple() const {
return Core->TargetTriple;
}