<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/163218>163218</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [Question] Does `clangd-indexer` support `-vfsoverlay`?
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          sstepashka
      </td>
    </tr>
</table>

<pre>
    Hello, 

I am trying to find out if I can build the index daily on CI machines. And our code uses `-vfsoverlay` in order to emulate some header maps and Darwin framework structure for `clangd` and `clang-tidy`. But, it doesn't seem to work with `clangd-indexer`. The `compile_commands.json` already contains `--vfsoverlay` flag and the command itself compiles well.

Do I supply the `--vfsoverlay` differently similar to `clang-tidy`?

I guess, I have a question related to this somehow: https://github.com/llvm/llvm-project/issues/159843

Seems like, it's coming to more interesting question: Do we support VFS cohesively across LLVM tools? Or we better not to use it at all?

Thank you.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJykk8GvnDYQxv8acxk9BGZhlwOHTVaoK6WqqkS5VgYP4Dxjbz3j3fLfV2bzXqSkt56QbOab-X6fRxGZ2SF2ov4g6kumIi8-dESMN0XLq8oGr7fuN7TWC_kRRHEWxfkKagUOm3EzsIfJOA0-MpgJrjAqB0M0VgMvCMZp_Ae0MnYD7-DjFVY1LsYh5XDeywKMXiNEQgLRFC_3ifwdg1WbaAowDnzQGFIfXKNVjEB-RVhQpeNV3QiU03BR4WEcTEGt-PDhFYhDHDkGhMmHpDxa5WadRNP_bwcvbHTqlMOHyMmiYdAeyQl5ZCDENbXeFR-Glx9CL7s1DHvtlwX3G7_ejMW_Rr-uymnKv5F3e0cbUOkNRu9YGfd0-pPVyap5Hy1x-64AhgntBN-FCR5obf5M4eLhChRvN7vtJf8hqc00YUDHdgMyq7FqB_mzd1H1b8HOEYkShiss6o6g4O-IxMY7CJjo6yTAi6E9hsU_RHWGhflGojoL2QvZz4aXOOSjX4Xsrb2_fV5uwX_DkYXsDVFEErIv6_Z0qJ7dPyOuBNa84jMHIY-UnH9_ZqsP6T0xhjSQm98nSxNcPDxwp-EDw9f-M4x-QTJ3tBuoMXgi-PTp6-_A3lsSVQ9_hFQxIDMGcJ5Ti0iY8lcMytp3Kl8W5V5h8zHPdFfptmpVhl15bIrqKNumyJauOjZ4KNpGTic9VOpQ1XJsi-HYjvWgZVtnppOFrMuirMpGtrLI65Mqq7bCsmxKfTiexKHAVRmbJ1K5D3O2M-rKppLlKbNqQEv7mkrp8AH7rZAybW3odrxDnEkcCmuI6YcMG7b7fv_5hqu-wMU_t-2Xp_yO8JdVFFWfxWC7_5H108q9k_8GAAD__7Dief4">