<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/139210>139210</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[clang][PAC] Ensure that hasAddressDiscriminatedPointerAuth actually reports the truth for non trivial types
</td>
</tr>
<tr>
<th>Labels</th>
<td>
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
ojhunt
</td>
</tr>
</table>
<pre>
as in title, hasAddressDiscriminatedPointerAuth acts like it works on all types, but realistically does not, which makes it an error prone API. Either it should fail hard (or not be available) on types it does not handle correctly, or it should handle all types correctly.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJyMkcFuKj0MhZ8ms7GKhoRhmMUsaCnSv-srOIkhaUOCHA8Vb_8riN7e5V1l4eOTz-dgrfGciWY1vKrh0OEiofBcPsOSpbPF32esEDNIlERKv0HAuveeqdZDrI7jJWYU8h8lZiHeLxIAnVRI8YsgCnwX_qpQMmBKIPcr1eZiFwEmTLFKdJjSHXyhCrlIm36H6AJc8Itqs8AMxFwYrlwywf7jvxW8RwnEbVpDWZKHE8YEAdmD0rvCzQosAd4wJrSNfWoUD4K29vMfBMw-EbjCTE7SvQGUv52fgj_8v9JV52fjJzNhR_N63GzHUW9H04XZWrfduGm3tWj8uj-dem9HT73ZDZv1ZNZdnHWvh37op35rxsGsnBm2dhp3Azmnp8moTU8XjGmV0u2yKnzuYq0LzWsz6XXfJbSU6k9tPDfVi13OVW36lmr93XtU15QuYT6r4aCG14_9mxoO8J7rwgQSUP6x2OVRFtO1sFSQQCDcRqdH5BmE4y3iM6lu4TQHkWtVZq_0UenjOUpY7MqVi9LHhvh8Xq5cPsmJ0sfHnVXp4_PU26z_DwAA__-OZedX">