[clang][deps] Avoid minimizing PCH input files
authorJan Svoboda <jan_svoboda@apple.com>
Tue, 20 Jul 2021 10:12:40 +0000 (12:12 +0200)
committerJan Svoboda <jan_svoboda@apple.com>
Tue, 20 Jul 2021 10:20:10 +0000 (12:20 +0200)
commite564fd93ab85d1810e0d83e961ccc8b99025ff34
treeee7deecd88d8f3c00fc390ba9a9a86e132bff5b1
parentbc1a2979fc70d954ae97122205c71c8404a1b17e
[clang][deps] Avoid minimizing PCH input files

This patch avoid minimizing input files that contributed to a PCH or its modules. This prevents the implicit modular build to fail on unexpected file size. Depends on D106146.

Reviewed By: dexonsmith

Differential Revision: https://reviews.llvm.org/D104536
clang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp
clang/test/ClangScanDeps/modules-pch.c