[all-commits] [llvm/llvm-project] 548243: [clang][deps] Compute command-lines for dependenci...
Ben Langmuir via All-commits
all-commits at lists.llvm.org
Tue Aug 16 14:25:47 PDT 2022
Author: Ben Langmuir <blangmuir at apple.com>
Date: 2022-08-16 (Tue, 16 Aug 2022)
[clang][deps] Compute command-lines for dependencies immediately
Instead of delaying the generation of command-lines to after all
dependencies are reported, compute them immediately. This is partly in
preparation for splitting the TU driver command into its constituent cc1
and other jobs, but it also just simplifies working with the compiler
invocation for modules if they are not "without paths".
Also change the computation of the default output path in
clang-scan-deps to scrape the implicit module cache from the
command-line rather than get it from the dependency, since that is now
unavailable at the time we make the callback.
Differential Revision: https://reviews.llvm.org/D131934
More information about the All-commits