[clang] [clang][deps] Load module map file from PCM (PR #66389)
Ben Langmuir via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 14 09:54:06 PDT 2023
================
@@ -1307,6 +1307,9 @@ void ModuleMap::setInferredModuleAllowedBy(Module *M,
std::error_code
ModuleMap::canonicalizeModuleMapPath(SmallVectorImpl<char> &Path) {
+ FileManager &FM = SourceMgr.getFileManager();
+ FM.makeAbsolutePath(Path);
----------------
benlangmuir wrote:
I'm not 100% sure about this change: I seem to recall some folks are intentionally using relative paths in their invocations in order to be independent of a base path.
https://github.com/llvm/llvm-project/pull/66389
More information about the cfe-commits
mailing list