<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/138948>138948</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[clang][ptrauth] Sema queries for values containing address discrimination fail to consider vtable pointers
</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>
While investigating some changes to ptrauth tests from @cor3ntin's trivial relocation work I found that when determining whether a type contains address discriminated pointer auth we fail to consider vtable pointers.
This is not a fantastic thing.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJyEkb2O2zAQhJ-GahYnUH-2XKi4w8FA6gRIvaJW4l4o0uGuZNzbBzrYSBMgFZtZcOb7UISXSDSY7s107wVu6lMe0offohZjmj6Hn54DAcedRHlB5biApJXAeYwLCWiCm-bjEpREBeacVjCtdSk3UTma-iygmXfGAJlCcqicItxT_gXfYE5bnEA9Ktw9RZhIKa8cj4_untRTBgT9vBG4FBU5CuA0ZRKBicVlXjmi0gS3xFGP9NHlTjAjh6OeS1F4ogy74hjomZPS2FdjX394FmCBmBQQZoyKouxAPcelLKahmS7NBQsaqnN7OrWntusLP4x9f27cZMdT1duxOzVNdW4r11vXz_NY9QUPta0729lzdWnaqi_nyuJcVzS3NLqKrGktrcihDGFfy5SXgkU2Gqqmv7R9EXCkIE81eThSL-O2iGltYFH5e6es4UuiCxgX072b7u0hxXTv8J1WhN8bZSaBOWXYMWwkT54H6X8QPRz9D2Gx5TB41ZuY5tXUV1NfF1a_jaVLq6mvR8PH83LL6YOcmvr6NVNMfX0s3Yf6TwAAAP__oT_f3g">