Reapply "[clang][deps] Support inferred modules"This reverts commit 76b8754d and ensures the PCM files are created in the correct directory (not in the current working directory).
Revert "Reapply "[clang][deps] Support inferred modules""This reverts commit c98833cdaad01787ea70ecdfabb05a7e142a6671.The test `ClangScanDeps/modules-inferred-explicit-build.m` creates filesin th
Revert "Reapply "[clang][deps] Support inferred modules""This reverts commit c98833cdaad01787ea70ecdfabb05a7e142a6671.The test `ClangScanDeps/modules-inferred-explicit-build.m` creates filesin the current directory.
show more ...
Reapply "[clang][deps] Support inferred modules"This reapplies commit 95033eb3 that reverted commit 1d9e8e13.The tests were failing on Windows due to spaces and backslashes in paths not being han
Reapply "[clang][deps] Support inferred modules"This reapplies commit 95033eb3 that reverted commit 1d9e8e13.The tests were failing on Windows due to spaces and backslashes in paths not being handled carefully.
Revert "[clang][deps] Support inferred modules"This reverts commit 1d9e8e13Something is off with handling Windows paths: http://45.33.8.238/win/38908/step_7.txtMost likely introduced in https://
Revert "[clang][deps] Support inferred modules"This reverts commit 1d9e8e13Something is off with handling Windows paths: http://45.33.8.238/win/38908/step_7.txtMost likely introduced in https://reviews.llvm.org/D102491
[clang][deps] Support inferred modulesThis patch adds support for inferred modules to the dependency scanner.Effectively a cherry-pick of https://github.com/apple/llvm-project/pull/699 authored b
[clang][deps] Support inferred modulesThis patch adds support for inferred modules to the dependency scanner.Effectively a cherry-pick of https://github.com/apple/llvm-project/pull/699 authored by @Bigcheese with libclang and other changes omitted.Contains following changes:1. [Clang][ScanDeps] Ignore __inferred_module.map dependency. * This shows up with inferred modules, but it doesn't exist on disk, so don't report it as a dependency.2. [Clang][ScanDeps] Use the module map a module was inferred from for inferred modules.Also includes a smoke test that uses clang-scan-deps output to perform an explicit build. There's no intention to duplicate whatever `test/Modules` contains, just to verify the produced command-line does "work" (with very loose definition of work).Split from D100934.Reviewed By: dexonsmithDifferential Revision: https://reviews.llvm.org/D102495
[clang-scan-deps] Implementation of dependency scanner over minimized sourcesThis commit implements the fast dependency scanning mode in clang-scan-deps: thepreprocessing is done on files that are
[clang-scan-deps] Implementation of dependency scanner over minimized sourcesThis commit implements the fast dependency scanning mode in clang-scan-deps: thepreprocessing is done on files that are minimized using the dependency directives source minimizer.A shared file system cache is used to ensure that the file system requests and source minimizationis performed only once. The cache assumes that the underlying filesystem won't change during the courseof the scan (or if it will, it will not affect the output), and it can't be evicted. This means that theservice and workers can be used for a single run of a dependency scanner, and can't be reused across multiple,incremental runs. This is something that we'll most likely support in the future though.Note that the driver still utilizes the underlying real filesystem.This commit is also still missing the fast skipped PP block skipping optimization that I mentioned at EuroLLVM talk.Additionally, the file manager is still not reused by the threads as well.Differential Revision: https://reviews.llvm.org/D63907llvm-svn: 368086