diff options
author | Jan Svoboda <jan_svoboda@apple.com> | 2022-10-06 16:03:48 -0700 |
---|---|---|
committer | Jan Svoboda <jan_svoboda@apple.com> | 2022-10-06 16:20:24 -0700 |
commit | 586547687946b27a99d3bb4241226f9f126a173e (patch) | |
tree | 178a6cec4b2a99720fbb50a782e23c05bf709163 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | |
parent | 5aba68960719c5d2de9ee0b459def9203e521f5e (diff) | |
download | llvm-586547687946b27a99d3bb4241226f9f126a173e.zip llvm-586547687946b27a99d3bb4241226f9f126a173e.tar.gz llvm-586547687946b27a99d3bb4241226f9f126a173e.tar.bz2 |
[clang][modules] Fix handling of `ModuleHeaderRole::ExcludedHeader`
This is a follow-up to D134224. The original patch added new `ExcludedHeader` enumerator to `ModuleMap::ModuleHeaderRole` and started associating headers with the modules they were excluded from. This was necessary to consider their module maps as "affecting" in certain situations and in turn serialize them into the PCM.
The association of the header and module needs to be handled when deserializing the PCM as well, though. This patch fixes a potential assertion failure and a regression. This essentially reverts parts of feb54b6ded123f8118fdc20620d3f657dfeab485.
Reviewed By: Bigcheese
Differential Revision: https://reviews.llvm.org/D135381
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions