<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/96610>96610</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[Clang] Use __cxa_call_terminate
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
philnik777
</td>
</tr>
</table>
<pre>
GCC 14 added a new function to the family of exception functions called `__cxa_call_terminate`. This function is equivalent to Clang's `__clang_call_terminate`, but it's provided by the ABI implementation instead. I don't know whether it's worth it to change the code gen to use this new function, but I thought I'd at least inform you that it exists now.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxskkFvozwQhn-NuYyKjAlQDhzaVPmU-7fnaLAH7K2xWTwkzb9fQVpVq90TGjx65tHMiym5MRB1onoV1VuGK9u4dLN1Prj3pmmyPpp799_xCMUB0BgygBDoBsMaNLsYgCOwJRhwcv4OcQD60DTvT189CTR6TwZELS8X_YGXrb4wLZMLyCRqmcP_1qVvqktAv1Z3RU-BtxlHj2EUqkmfkK38GyPUEfqVwfHeOi_x6jbn_r5LvryewU2zp4kC42NQSExocjiDiUGohuE9xBvcLLGl5Yt0iwtbcLuKthhG2oE6GoKR9i2safvn0h_r-RI6A9u4jpbhLFRjABk8YWJwYYjLBPe4AlvczIE-XOIEId5yId-EfMlMV5q2bDGjrmiKtpR1K1Vmu-K5NaWRbakrXRscSiyfazPUBk1ZDoYy1ympDrJWlWyLSqr82RSm6ltShAaNrsVB0oTO595fpzwuY-ZSWqlr67qQmceefNrDoZR-XEBtOVm6rf-pX8ckDtJvvt8Eduz3RD1uVr3Bj0Twr8Nn6-I7yzwnUb4IdRLqNDq2a5_rOAl12pCfn6d5iT9Js1Cn3TAJdXpIXjv1OwAA___Nwu57">