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

    <tr>
        <th>Summary</th>
        <td>
            [Clang-repl] Assertion "Narrow integer argument must have a valid extension type." failed.
        </td>
    </tr>

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

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

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

<pre>
    ```
cat ~/llvm-project/clang/test/Interpreter/const.cpp | clang-repl -argext-abi-check
ERROR: Missing extension attribute of returned value from function:
i32 @__cxa_atexit(ptr, ptr, ptr)
```

@lhames @nikic : This is probably very similar to atexit that Lang just fixed... I guess the same kind of patch would work, or maybe some kind of common helper function as discussed?
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxkkt2K4zoMgJ_GuRENjpNm2otc9MycwhzOH8PeD4qjJp46drCU_tzssy9py-ywC8bGSEj6xIfMrg9EjVr_odYvGc4yxNT8FcP_zDEUWRu7a6Nq_Tj6RemdRYHvyuy9P42rKcUPsqLM3noMvTJ7IV6-r0EoTYmE0hKMgSW30wTq6RluqatEk4cVpp4ussLWrexA9njv8efb239vqtzBP47ZhR7oIhTYxQAoklw7C0E8QCKZU6AOTuhngkOKIxzmYMXFoMrdvZgrDahKv7_bC76j0MWJMptJkjLP8PXZ3vN_4X3clfYDjsRLqeCOzsIy37fBMTiGKcUWW3-FE6UrsBudxwQS4d4PZECBvzH08DGzwMFdqMvzHF6hn4kZZCBgHAmOLnQL2YRiBzjH2Xdwjum4DBkTjHhtCTh-ybRxHGOAgfxE6ZMekKFzbGdm6lS5z7qm7LblFjNqiiez1fVmvamzoanJruu61IU27VbbatMW3WZdVMbUaCzZzDVGm6rQRa031baq8wNtsTR1ZZ-qylSVVZWmEZ3PFyPymPrMMc_UFIVZa515bMnzTTFjAp3hFlXGLMal5qZRO_e8bNix8M8y4sTf3Hz-FEatX2DHTOnGqIz5F1OKZ3BBqKcEmPp5pCAwLmse8ESAixyu-6KQXCfKlTFwQOepy7M5-WYQmXhxxuyV2fdOhrnNbRwfpv8u_A2Dldk_OE-N-REAAP__9m4UGA">