<?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>b8b14b68 - [clang][deps] Make resource directory deduction configurable</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/ClangScanDeps/Inputs/resource_directory/module.modulemap#b8b14b68</link>
        <description>[clang][deps] Make resource directory deduction configurableThe `clang-scan-deps` CLI tool invokes the compiler with `-print-resource-dir` in case the `-resource-dir` argument is missing from the compilation command line. This is to enable running the tool on compilation databases that use compiler from a different toolchain than `clang-scan-deps` itself. While this doesn&apos;t make sense when scanning modular builds (due to the `-cc1` arguments the tool generates), the tool can can be used to efficiently scan for file dependencies of non-modular builds too.This patch stops deducing the resource directory by invoking the compiler by default. This mode can still be enabled by invoking `clang-scan-deps` with `--resource-dir-recipe invoke-compiler`. The new default is `--resource-dir-recipe modify-compiler-path` which relies on the resource directory deduction taking place in `Driver::Driver` which is based on the compiler path. This makes the default more aligned with the intended usage of the tool while still allowing it to serve other use-cases.Note that this functionality was also influenced by D108979, where the dependency scanner stopped going through `ClangTool::run`. The function tried to deduce the resource directory based on the current executable path, which might not be what the users expect when invoked from within a shared library.Depends on D108979.Reviewed By: dexonsmithDifferential Revision: https://reviews.llvm.org/D108366

            List of files:
            /llvm-project-15.0.7/clang/test/ClangScanDeps/Inputs/resource_directory/module.modulemap</description>
        <pubDate>Thu, 21 Oct 2021 11:10:18 +0000</pubDate>
        <dc:creator>Jan Svoboda &lt;jan_svoboda@apple.com&gt;</dc:creator>
    </item>
</channel>
</rss>
