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

    <tr>
        <th>Summary</th>
        <td>
            [lldb][clang] A lot expression/import-std-module tests failed after #135119 in clang
        </td>
    </tr>

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

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

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

<pre>
    After the patch https://github.com/llvm/llvm-project/pull/135119#issuecomment-2794910840
the following lldb API tests failed because of the assert in ASTContext.cpp, line 5619:
```
  lldb-api :: commands/expression/import-std-module/array/TestArrayFromStdModule.py
 lldb-api :: commands/expression/import-std-module/deque-basic/TestDequeFromStdModule.py
 lldb-api :: commands/expression/import-std-module/deque-dbg-info-content/TestDbgInfoContentDequeFromStdModule.py
 lldb-api :: commands/expression/import-std-module/forward_list-dbg-info-content/TestDbgInfoContentForwardListFromStdModule.py
 lldb-api :: commands/expression/import-std-module/forward_list/TestForwardListFromStdModule.py
 lldb-api :: commands/expression/import-std-module/iterator/TestIteratorFromStdModule.py
 lldb-api :: commands/expression/import-std-module/list-dbg-info-content/TestDbgInfoContentListFromStdModule.py
 lldb-api :: commands/expression/import-std-module/list/TestListFromStdModule.py
 lldb-api :: commands/expression/import-std-module/non-module-type-separation/TestNonModuleTypeSeparation.py
 lldb-api :: commands/expression/import-std-module/shared_ptr-dbg-info-content/TestSharedPtrDbgInfoContentFromStdModule.py
 lldb-api :: commands/expression/import-std-module/shared_ptr/TestSharedPtrFromStdModule.py
 lldb-api :: commands/expression/import-std-module/vector-dbg-info-content/TestDbgInfoContentVectorFromStdModule.py
 lldb-api :: commands/expression/import-std-module/vector-of-vectors/TestVectorOfVectorsFromStdModule.py
 lldb-api :: commands/expression/import-std-module/weak_ptr-dbg-info-content/TestDbgInfoContentWeakPtrFromStdModule.py
 lldb-api :: commands/expression/import-std-module/weak_ptr/TestWeakPtrFromStdModule.py
```
At least the following buildbots are red: [lldb-remote-linux-ubuntu](https://lab.llvm.org/buildbot/#/builders/195/builds/7429), [lldb-remote-linux-win](https://lab.llvm.org/buildbot/#/builders/197/builds/3835).
Should we revert this patch?
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJy0ll1vozgUhn-NubGIwIYGLrigrZAq7cdIqXYvRwYfgneMzdqHpvn3K0My04y2oxk1kZDAX-d5zwFxXuG92huAiuT3JH-MxIyDdZXXR6lGYaLWymNV9wiO4gB0EtgNdECcPOE1YQ1hzV7hMLebzo6ENVq_nG_x5Ow_0CFhzTRrTViT8jxNS8K48n6Gzo4jGIzZtszKNCmyhCR1gPRWa3tQZk-1li2tPz1RBI-e9kJpkLSFTsweqO0XTcJ7cEiVofXu-cEahFfcdNNE2APVygDN79IyqE1qcpecrqSmS_RYTIqGRV7TIEgY6Qlr4HVy4L2yhrBGjZN1GHuU8WjlrIGwRjgnjoQ1z-CxDs-Ns-MO5e_Lhs10DISPACT8O0PcCq-6E-YxzNwGI9t9rExv4y6Uz-CZ2O6fTG8f1smb8HvrDsLJz1p5_DkZzXriN-XxlmJO7BvSFIITaN2J9HQaXhvz85W9RZJvSnmL8Maa0yDG4wSxh0k4geuBAP3DmhX2fJxg93X1Cmg_CAfy84Tuverulh2f0H33AV-5Bt-EfM-9NukFOrTvpnuZ5V_L3hspsH28PvkTe6X92a93f23sAcSXH73py9T_BvHlBtU_izgx36e87XI1Ug3CI71srO2stGwteiocUAcyiCH5_aLPwWgRYq3M_BrP7WxwJvkjYcVl39ei3YQ-v7FuT1hzDrks8vMELK8oLfPzRBhuM1aScD38P_OgzIeB27dAXvCcsHJDkno32FlLeghZvwTfgIPyq68hvIlkxWXJSxFBlW6zjG95wrJoqNq8SLu0LLoMUgHbbVvI7K7o2PYOQGZlGamKJSxPsjRNWcIzvuF5XhRlXpZQSg48IVkCo1D6awrR4oKqlOc8Z5EWLWi_2DDGOi3MnjAWHJmrFjPVzntPsiT8T_23EKhQL94tFDHULL9fz-aPtKbaIv3xZ3VprMTi8wjjq1ELlmqJFs1OV79s-pb0_Gr7QoYvFfsvAAD__5WulfI">