aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/BuildLibCalls.cpp
diff options
context:
space:
mode:
authorBen Langmuir <blangmuir@apple.com>2022-08-15 17:54:00 -0700
committerBen Langmuir <blangmuir@apple.com>2022-08-16 14:25:27 -0700
commit5482432bf6cc7e334894734ebbdac0a97ee98b19 (patch)
tree08df497464e1665b885b92a9488c42f11815a66e /llvm/lib/Transforms/Utils/BuildLibCalls.cpp
parentde6fd169715764f0401d8580b64c11fda45101e1 (diff)
downloadllvm-5482432bf6cc7e334894734ebbdac0a97ee98b19.zip
llvm-5482432bf6cc7e334894734ebbdac0a97ee98b19.tar.gz
llvm-5482432bf6cc7e334894734ebbdac0a97ee98b19.tar.bz2
[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
Diffstat (limited to 'llvm/lib/Transforms/Utils/BuildLibCalls.cpp')
0 files changed, 0 insertions, 0 deletions