[PATCH] D104536: WIP: [clang][deps] Avoid minimizing PCH input files

2021-07-15 Thread Jan Svoboda via Phabricator via cfe-commits
jansvoboda11 updated this revision to Diff 358951. jansvoboda11 edited the summary of this revision. jansvoboda11 set the repository for this revision to rG LLVM Github Monorepo. jansvoboda11 added a comment. Rebase on top of D106064 , solving Windows CI failure.

[PATCH] D104536: WIP: [clang][deps] Avoid minimizing PCH input files

2021-07-14 Thread Jan Svoboda via Phabricator via cfe-commits
jansvoboda11 updated this revision to Diff 358726. jansvoboda11 added a comment. Entirely disable `DepFS` when scanning PCHs. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D104536/new/ https://reviews.llvm.org/D104536 Files: clang/lib/Tooling/DependencyScanning/DependencyScanningWorke

[PATCH] D104536: WIP: [clang][deps] Avoid minimizing PCH input files

2021-07-12 Thread Jan Svoboda via Phabricator via cfe-commits
jansvoboda11 added a comment. I run a quick benchmark where an empty TU is configured with an explicitly built PCH that imports Cocoa. Dependency scanning without minimization takes 226 ms, with this patch 303 ms and 325 ms when padding minimized files to the original size. Since we'll eventual

[PATCH] D104536: WIP: [clang][deps] Avoid minimizing PCH input files

2021-07-12 Thread Jan Svoboda via Phabricator via cfe-commits
jansvoboda11 updated this revision to Diff 357862. jansvoboda11 added reviewers: Bigcheese, dexonsmith, arphaman. jansvoboda11 added a comment. Handle system input files. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D104536/new/ https://reviews.llv

[PATCH] D104536: WIP: [clang][deps] Avoid minimizing PCH input files

2021-06-18 Thread Jan Svoboda via Phabricator via cfe-commits
jansvoboda11 created this revision. jansvoboda11 requested review of this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits. This patch avoid minimizing input files that contributed to a PCH or its modules. This prevents the implicit modular build to fail on unexpect