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

    <tr>
        <th>Summary</th>
        <td>
            cl.exe very slow on AST\Interp\Interp.cpp
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            platform:windows
      </td>
    </tr>

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

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

<pre>
    https://lab.llvm.org/buildbot/#/builders/sanitizer-windows

```
command timed out: 1200 seconds without output running ['python', '../llvm-zorg/zorg/buildbot/builders/annotated/sanitizer-windows.py', '--jobs=16'], attempting to kill
```

>From the bot:
```

 C:\PROGRA~2\MIB055~1\2019\PROFES~1\VC\Tools\MSVC\1429~1.301\bin\Hostx64\x64\cl.exe /nologo /TP
 -DGTEST_HAS_RTTI=0 -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS
 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0
 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS
 -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
 -IC:\b\slave\sanitizer-windows\build\stage1\tools\clang\lib\AST
 -IC:\b\slave\sanitizer-windows\llvm-project\clang\lib\AST
 -IC:\b\slave\sanitizer-windows\llvm-project\clang\include
 -IC:\b\slave\sanitizer-windows\build\stage1\tools\clang\include
 -IC:\b\slave\sanitizer-windows\build\stage1\include
 -IC:\b\slave\sanitizer-windows\llvm-project\llvm\include /DWIN32 /D_WINDOWS   /Zc:inline
 /Zc:preprocessor /Zc:__cplusplus /Zi /Oi /bigobj /permissive- /W4 -wd4141 -wd4146 -wd4244 -wd4267
 -wd4291 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512
 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805
 -wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd5105 -wd4324 -w14062 -we4238 /Gw /O2 /Ob2
 -std:c++17 -MD  /EHs-c- /GR- -UNDEBUG /showIncludes
 /Fotools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\Interp.cpp.obj
 /Fdtools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\ /FS -c
 C:\b\slave\sanitizer-windows\llvm-project\clang\lib\AST\Interp\Interp.cpp
```

It's probably always slow, but if a lot of compilation, command working in background taking >1200 sec, but ninja output is not stale

however if build is small incremental, this compiler invocation is bottle neck and we hit silent 1200
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy0Vs9u2z4Sfhr6QsigKNGODz4okp0KaOzAcjbFXgxSom0mFCmIlN300GdfkJITt00X2G1_QMLR_OE332hEc6gx4qA4nwNyC0g2op096nZ-EpbKV9a90BHT1ev8aG1jQJQAvAR4KSkbS3mqx7o9ALxknZAV09Y7o4uBtwbgpaFKWPGNt8FZqEqfDUAZQMmwTtDw59VS1zVVFbSi5hXUnQVRAkOMEDS81Koy8CzsUXfW-ZrOwrZTSqgDdNzxtHm1R60AngKcQoCn47GjKk918K3n-e0XuldEqVLaUsurj0iPm9d33CB41syAKAsnzkgyZ6fW8rqxjo3V8EVI-WGJ_bpsdQ3tkUPHIvr4ZfQrTJ2fpA-b9d0m-Y4BSe_zW0TI9xCQFKNw1juXi8Jb_pUCkm61lsZFFl4NYzz7Ho4j5AKYUICkn7SxXycxIGm_lnLMv3II8FJpqQ_aPW0fBgpBdrddFNvdp6TYbbbbHEQZgkH2uMrTdbaAQbZLN9vdar0qtlm6W6132eJhs0iT7Ue-p2Szyld3xRu2DygW6eN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