diff options
author | Ben Langmuir <blangmuir@apple.com> | 2022-07-08 15:51:15 -0700 |
---|---|---|
committer | Ben Langmuir <blangmuir@apple.com> | 2022-07-12 08:19:52 -0700 |
commit | 6626f6fec3d37b78b628b858bdadbbb8301e1a2f (patch) | |
tree | 140869b88bce29c598e14d20e899ca26aae01e68 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 2b9055cee657fbec1afa93da3751bb923649fbde (diff) | |
download | llvm-6626f6fec3d37b78b628b858bdadbbb8301e1a2f.zip llvm-6626f6fec3d37b78b628b858bdadbbb8301e1a2f.tar.gz llvm-6626f6fec3d37b78b628b858bdadbbb8301e1a2f.tar.bz2 |
[clang][deps] Override dependency and serialized diag files for modules
When building modules, override secondary outputs (dependency file,
dependency targets, serialized diagnostic file) in addition to the pcm
file path. This avoids inheriting per-TU command-line options that
cause non-determinism in the results (non-deterministic command-line for
the module build, non-determinism in which TU's .diag and .d files will
contain the module outputs). In clang-scan-deps we infer whether to
generate dependency or serialized diagnostic files based on an original
command-line. In a real build system this should be modeled explicitly.
Differential Revision: https://reviews.llvm.org/D129389
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions