[all-commits] [llvm/llvm-project] bd3dde: [clang][Modules] Diagnose mismatching pcm dependen...
Cyndy Ishida via All-commits
all-commits at lists.llvm.org
Tue Apr 29 08:38:55 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bd3dde0f871cd71a797ba5da3070fa3ddbc48828
https://github.com/llvm/llvm-project/commit/bd3dde0f871cd71a797ba5da3070fa3ddbc48828
Author: Cyndy Ishida <cyndy_ishida at apple.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M clang/include/clang/Basic/DiagnosticSerializationKinds.td
M clang/lib/Serialization/ASTReader.cpp
A clang/test/Modules/invalid-module-dep.c
Log Message:
-----------
[clang][Modules] Diagnose mismatching pcm dependencies in explicit buiilds (#137068)
In an explicit build, the dependency scanner generates invocations with
dependencies to module files to use during compilation. The pcm's passed
in the invocations should match the ones that were imported by other
modules that share the same dependencies.
We have seen bugs caused from incorrect invocations that mismatch which
module file to load. When this happens report it as a warning, to help
with investigations, as that should never occur in a well behaved build
scheduled from the dependency scanner.
The warning flag is off by default.
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