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

    <tr>
        <th>Summary</th>
        <td>
            How to debug infinite compiling loop?
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
      </td>
    </tr>

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

    <tr>
      <th>Reporter</th>
      <td>
          Neumann-A
      </td>
    </tr>
</table>

<pre>
    so i am trying to compile everything with clang-cl (14.0.6) within vcpkg (https://github.com/microsoft/vcpkg/pull/25897). 
Unfortunally if I try to build the Release config of ffmpeg the compiler seems to get stuck in an infinite loop. The symptoms are: The output log is not updated for more than 16h and there are four processes running clang-cl at 100% per core. Since the Debug config works I assume it somehow stuck in the optimization passes. 

So I would need some advice on how to start debugging this.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx9UsuOnDAQ_Bq4tBaBeR84TLRaJZccsskHGNOAd41t-TGjydenzWayt0jIr3JXVxWezXKfvAEJ_IDg7lJvEAwIc1ipEPCK7h72dHqTYQehuN6ehIKMDVVTlEWXsfGEpIarsO9bQvYQrM_qS8Ze6NsIjXNBlLQ5pHDGmzXQ-rxPs41K0cTaYeyJroCsfM7Kyy-9Ghei5krdQa7wLelL4uYo1QJhR_iBCrlHkqtXuYFZYV0Pi9sJ_vXgwCMePhVuGMCHKN6B1HJN4yq1DAjKGFvATyry98MGQ9e5Q3JwnpkYbAx0aQPpQZsA0S484AIkEA7jkPoRXdXtxHoqoyMiIDw6sM4I9B49uKh1ivJfijxAVZYZa8GSTkFMBbxKLfA08Ixz3B7ebsa9e8qAex8PBElOzIG7uX06SjXGBnnI3zxIo8Hy1PaR58f4aojkZiIlqJEsJBbgy1VSUypJhJSUD9wFWJKA7XwSu_RFjlPVtWPFmq5p8mWql7EeeR5kUDh9_Sg8Sz6D_fgHiSFFnNUveXRq-s_7UOr6mJ4ouDcU6aVIMo2eFm03VFW-TxWreTl02M5z14kam37o67bqZzYODNcyV3xG5aes_ZK1z7mcWMlY2bOxGtue1UXV8HpgYuxqMY5j1WdNiQeXqkiNC-O23E2nBnLjCVTSB_8JUq5yo_ge_DyG3bjpO8aDa_10yU_B06n2D7w-Ios">