<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/55171>55171</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Mangling difference between GCC and clang
</td>
</tr>
<tr>
<th>Labels</th>
<td>
libc++abi
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
gbreynoo
</td>
</tr>
</table>
<pre>
As seen in https://reviews.llvm.org/D124010 there appears to be a mangling difference between GCC and clang regarding a case in which a template argument happens to be a null pointer. This difference should be investigated and if required, a solution worked out with GCC.
The test case in question was seen in https://github.com/llvm/llvm-project/issues/51854.
When compiled with clang we see _Z1fIDnLDn0EEvv whilst with GCC _Z1fIDnLDnEEvv.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJylUk1r3DAU_DX2RdRYsp2sDz5ssmkptLdAoZci2c_Wa2XJ0ccu-fd98pZsLoVCwcgavdHM6EnKTa_DMbAAYBlapmPcQtEcC_GRPg9nhEuojDmvlfMLLZ24aGtes6jBA5PbBtIHFh1ThNgq7WLQLmzCeSaCHYEK8ZLVPz0-MmknNhoiMQ-L9FOmSjbKANn8onHUhCOsm5GRBP2SVrCR6Wxkbz42GcM2hzaCr9izxvDeMWiXzJSZaM8QIi4kNu3mOJPzS0IPUyEoDwvOpIiOzJ3_RSSXIrtg1DluxYr6VNTH6_isgZKF-Bb3JWXtvFX-rYELKSVVjW4lkLv45_dh8-4njJEghkA6NOn4oWurq9c3TWq0a0NDmfY817ZdIDuxH9_5_Plkv5xs_fR0PufOmXAL_q6ey1U5Dc3UN70sI0YDw9d_vaYyeTP8x5E6fs9LPfRSjdAceMtV30je1e0d8Hmc5x4OUvZTaaQCE4aieyiEMKjGQtDsQSokXHSnEgdRC1G3gkS6uusqDqNsWs4P7Z26Fw0UbQ2rRPP2Vks_7LFUWgIVDYZ4e8ilDAEXC7Bbkr5MUTs_LMrDq3Wu3I8w7Pl_A7CvDK8">