aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
diff options
context:
space:
mode:
authorBen Langmuir <blangmuir@apple.com>2023-04-12 14:54:55 -0700
committerBen Langmuir <blangmuir@apple.com>2023-04-20 11:29:23 -0700
commite06a91c5996b039cacd55e6ead0baf14424c740c (patch)
tree6419845a92a4390dd7329fbec73b88bf8dd13840 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
parent7c59e8001a3b66be545a890a26ad8a24a6c9fe4b (diff)
downloadllvm-e06a91c5996b039cacd55e6ead0baf14424c740c.zip
llvm-e06a91c5996b039cacd55e6ead0baf14424c740c.tar.gz
llvm-e06a91c5996b039cacd55e6ead0baf14424c740c.tar.bz2
[clang][modules] Avoid re-exporting PCH imports on every later module import
We only want to make PCH imports visible once for the the TU, not repeatedly after every subsequent import. This causes some incorrect behaviour with submodule visibility, and causes us to get extra module dependencies in the scanner. So far I have only seen obviously incorrect behaviour when building with -fmodule-name to cause a submodule to be textually included when using the PCH, though the old behaviour seems wrong regardless. rdar://107449644 Differential Revision: https://reviews.llvm.org/D148176
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions