<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in module.modulemap</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>08c8016c - [clang][modules] Cache loads of modules imported by PCH</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/Modules/Inputs/pch-shared-module/module.modulemap#08c8016c</link>
        <description>[clang][modules] Cache loads of modules imported by PCHDuring explicit modular build, PCM files are typically specified via the `-fmodule-file=&lt;path&gt;` command-line option. Early during the compilation, Clang uses the `ASTReader` to read their contents and caches the result so that the module isn&apos;t loaded implicitly later on. A listener is attached to the `ASTReader` to collect names of the modules read from the PCM files. However, if the PCM has already been loaded previously via PCH:1. the `ASTReader` doesn&apos;t do anything for the second time,2. the listener is not invoked at all,3. the module load result is not cached,4. the compilation fails when attempting to load the module implicitly later on.This patch solves this problem by attaching the listener to the `ASTReader` for PCH reading as well.Reviewed By: dexonsmithDifferential Revision: https://reviews.llvm.org/D111560

            List of files:
            /llvm-project-15.0.7/clang/test/Modules/Inputs/pch-shared-module/module.modulemap</description>
        <pubDate>Tue, 12 Oct 2021 09:21:06 +0000</pubDate>
        <dc:creator>Jan Svoboda &lt;jan_svoboda@apple.com&gt;</dc:creator>
    </item>
</channel>
</rss>
