[all-commits] [llvm/llvm-project] 1ab6c0: [clang] Make explicitly-built modules independent ...
Jan Svoboda via All-commits
all-commits at lists.llvm.org
Thu Oct 23 10:10:12 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1ab6c0d60c52539b77e1cbfdc7f1ba47ad140b8d
https://github.com/llvm/llvm-project/commit/1ab6c0d60c52539b77e1cbfdc7f1ba47ad140b8d
Author: Jan Svoboda <jan_svoboda at apple.com>
Date: 2025-10-23 (Thu, 23 Oct 2025)
Changed paths:
M clang/lib/Frontend/CompilerInstance.cpp
M clang/lib/Lex/HeaderSearch.cpp
M clang/lib/Tooling/DependencyScanning/DependencyScannerImpl.cpp
A clang/test/Modules/explicit-build-cwd.c
Log Message:
-----------
[clang] Make explicitly-built modules independent of the CWD (#164840)
PR https://github.com/llvm/llvm-project/pull/150123 changed how we
normalize the modules cache path. Unfortunately, empty path would get
normalized to the current working directory. This means that even
explicitly-built PCMs that don't rely on the CWD now embed it, leading
to surprising behavior. This PR fixes that by normalizing an empty
modules cache path to an empty string.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list