[PATCH] D131796: [clang][deps] Use a cc1 invocation in FullDependencies::getCommandLine()
Jan Svoboda via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 12 12:15:46 PDT 2022
jansvoboda11 added a comment.
I like this direction, I've been wanting to do this for a long time.
Since the scanner accepts driver invocations that can expand into multiple (`-cc1`, assembler, linker, ...) invocations, we'll need to update the `clang-scan-deps` output JSON format to accommodate for that (as well as the downstream libclang API). You can use `-save-temps`, `-fno-integrated-as` and similar to test that. This will probably need some work around `ToolInvocation::run()` and `getCC1Arguments()`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D131796/new/
https://reviews.llvm.org/D131796
More information about the cfe-commits
mailing list