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

    <tr>
        <th>Summary</th>
        <td>
            ninja "check-all" target creates directory named "%SystemDrive%" in build directory
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            tools:llvm-lit
      </td>
    </tr>

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

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

<pre>
    As far back as the llvm 13 release, the check-all target creates a directory
called "%SystemDrive%" in the build directory when running on windows. The
contents are as follows.

```
%SystemDrive%/:
ProgramData

%SystemDrive%/ProgramData:
Microsoft

%SystemDrive%/ProgramData/Microsoft:
Windows

%SystemDrive%/ProgramData/Microsoft/Windows:
Caches

%SystemDrive%/ProgramData/Microsoft/Windows/Caches:
cversions.2.db                                                     {81FA3446-700E-4C68-8CFC-3266E1376F80}.2.ver0x0000000000000001.db
{6AF0698E-D558-4F6E-9B3C-3716689AF493}.2.ver0x0000000000000001.db  {DDF571F2-BE98-426D-8288-1A9A39C3FDA2}.2.ver0x0000000000000001.db
```

I wasn't able to reproduce this issue by running check-llvm, check-clang,
check-lld, or check-sanitizer. Only check-all reproduced this.

Thanks in advance for any help on this one.

</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJytVMGOmzAQ_Rq4WCBjg4EDBxKC1EPVSl2pZ4Md8K5jr2yTNP36GkI2m221aldFEdHgee_N2PPcaXauagv21ICO9k-AWuBGDqQ8HkCCgeGSU8sDtF0-9yPvnyIqJXDUDNyB3nDquAUUMGF477Q5B7AJYN37JM5AgFCAsm9n6_ihMeLomTL_DQi18HWTkOwGBaeRK2AmpYQagFbgJBTTJxuDh5GvvFo5rpxXNHwudq-lnDMuq-ubwPV3CX8voA3wmvvV6MHQQ0MdvaP4A-Z16hX-WfRGW713_wJG7Q12Jfp-6fSjNKi9ElwJt9Qf1n_gQ-3KdCXuj9xYoZWNUcw68JEnyDdF0tY4TUmUQ7iL0i0pomLbbiOMCNklOCdtAYO88RpeDv6A90_ildem8g2pW0jKYhc1WVZEaUt2UbnBnipPCCnKuk1L_D7VUlHTtFmetCja7EpPg0gTFagooqQua1xucdvU6K8qejN9y_sTOFGrApQ7QDvJgdPeWs9Gs6n3wSgsENZO3hDnl_G_eG024uy-S9RLqgYfriexZrA5QZs1x1IlnPjJTQy-KHl-5dkXRbZI3nnmYaTqyc6-pOxIla9q7xmpOoORy-fZi0uVWvEVFrIKsxKXNHTCSV75mh_p7PcXvdnnb66Jm9MVPbx_Pby5GsLJyGp07nkZRG9g1A7CjVMX99pvUHvZp-Uv8l0-epQPl02dZzjzM0DCsYI5gXmRdznmBU725T7LOE8hhiglpMtQKGnHpa2CbOPrcFrLWW9hlcLN5WZNKCoEEYJpkiHsTz6JPRwx2JWIlIyXCQtSyA9UyHgGxtoMoakWjm4arF-Uwjp7W6TWikFxvqh6fjq5UZtKm4MRNlx6qJYGfgHKB7NP">