diff options
author | Jan Svoboda <jan_svoboda@apple.com> | 2021-06-02 14:49:14 +0200 |
---|---|---|
committer | Jan Svoboda <jan_svoboda@apple.com> | 2021-06-04 14:58:42 +0200 |
commit | de07b1e84d8de948304766df602fee2b845e9532 (patch) | |
tree | eb98f0be51c65060efdbf5e9b0d5d898a27401ef /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 20bd2142d46536f4ffd61f28a029d6bda68f1a7f (diff) | |
download | llvm-de07b1e84d8de948304766df602fee2b845e9532.zip llvm-de07b1e84d8de948304766df602fee2b845e9532.tar.gz llvm-de07b1e84d8de948304766df602fee2b845e9532.tar.bz2 |
[clang][deps] Support object files
When a project uses PCH with explicit modules, the build will look like this:
1. scan PCH dependencies
2. explicitly build PCH
3. scan TU dependencies
4. explicitly build TU
Step 2 produces an object file for the PCH, which the dependency scanner needs to read in step 3. This patch adds support for this.
The `clang-scan-deps` invocation in the attached test would fail without this change.
Depends on D103516.
Reviewed By: Bigcheese
Differential Revision: https://reviews.llvm.org/D103519
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions