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

    <tr>
        <th>Summary</th>
        <td>
            After this patch it is very hard to build lldb (debug version) on Windows.
        </td>
    </tr>

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

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

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

<pre>
                  After this patch it is very hard to build lldb (debug version) on Windows.
We got the errors like the following
```
D:\llvm-project\lldb\source\Plugins\ScriptInterpreter\Python\Interfaces\ScriptedThreadPlanPythonInterface\ScriptedThreadPlanPythonInterface.cpp: 
fatal error C1041: cannot open program database 'D:\build-lldb\tools\lldb\source\Plugins\ScriptInterpreter\Python\Interfaces\ScriptedThreadPlanPythonInterface\CMakeFiles\lldbPluginScriptInterpreterPythonScriptedThreadPlanPythonInterface.dir\lldbPluginScriptInterpreterPythonScriptedThreadPlanPythonInterface.pdb'; 
if multiple CL.EXE write to the same .PDB file, please use /FS
```
Note MAX_PATH is 260 on Windows. But the length of the path to .pdb is 262.
It is necessary to use 7 chars or less folder in the root of a disk to build lldb (debug version) on Windows using Microsoft VC++. 
You must reduce the length of the paths.

_Originally posted by @slydiman in https://github.com/llvm/llvm-project/issues/101672#issuecomment-2289481324_
 
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy8VMGOpDYQ_RpzKQ1yG2iaA4duZlFWyiQj7Sq7OY0MLsAZYyO7mFH_fWTo3U2UREmUURAClV12vff0qmQIerSINSsurLhP5EqT8_WMSodZatOhTTqnrjX87jkPhB5o0gEWSf0EmkAHeEF_hUl6BeSgW7VRYIzqgImTwm4dY0LQzjJRgbPwSVvlXkPK-D3j508IoyOgCQG9dz6A0c-4xYMzxr1qO-6Z7Mhv7xbes-zMisaYl_lu8e4X7GkLVceKJrjV98iK5tGso7aBFc2H3uuF3ltCv3gk9HH3SpOzrGi25UH2-C0T1cfJo1SPRto972vSP8lJ-2Vh2Rl2sIMkaXaC0Bx4fohbvbTWEbgFLSzejV7OoCTJTgYEJsobw03Ruxsxcs6E_5Fn8yCfsdUGvxTdC_2hyH7y71VR2r_NRYvqmChZdrkprAeYV0N6MQjN9-m7z-_g1WvC6MlopiBnhPTx_gKDNshEA4vBKPS6id22H_7UZT84Qng4f356PH_8LppdHPlvTQyXdTevQTvSBG7YokXSFCtHmPspcfP7-61lLPYYgvTXmBQRlNBP0gdwHgyGEL2v0IO223XeRZ8MIEHp8Pyv2gzWoO0ID7r3LriB4KeGiQsTl_Qm3M9uhXkNBB7V2uNfkPnSrvv36UevR22lMVdYXCBU0F2B5TyYq9KztBH4RLSEaGHRMtGOmqa1S3s3M9HGpr39vvauaHUIKwYm2gM_HEvBRLat9G6e0dKdEKcqPx0ykT_tKCBRdaaqrJIJ1odS5IdM8IwnU51VXVHw4Vj0ssyLo5RlVpwQ1aCOvODlkOhacJHzk-C8yLKCp5VSlUBZlkNXldWpYjnHOAnTiDF1fkw2LPWB56eqSIzs0IRtfAph8RW2XSZEnKa-3oh16xhYzo0OFL5dQ5oM1m87SZPVm_q_yL1xeqnFrwEAAP__7K0KJw">