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

    <tr>
        <th>Summary</th>
        <td>
            Backport  #153912 "ptrauth_qualifier and ptrauth_intrinsic should only be available on Darwin" to llvm21
        </td>
    </tr>

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

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

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

<pre>
    The goal of this change is to support the need for `__has_feature` tests in legacy darwin code, without shipping `__has_feature` or `__has_extension` testing for the ptrauth qualifier or intrinsic extensions on other targets. That's defeated if we don't merge this to llvm21.

/cherry-pick 624b724

</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxsksFu6ywQhZ8Gb0a17LGJ7YUX7V_lCbqPsBkbWgL-YZzcvP0VaXpzF1dCQgLOmZnvoFKyqycahXwTiOHT7J4FopDvhdrZhDh-nxVT0LfxwxCsQTkIC7CxCWaj_EpgE3CAtG9biAxsCDyRhiVEEIfqdDIqnRZSvEcShwqYEiewHhytar6BVvFqPcxBk8D_4GrZhJ0hGbtt1q__9Pjbmn4x-WSD_zHPolw8d7JxzJPA_7tydrEUs9R6jtYnO8MfbYLgIbChCKziSpxK-DCKBXYJNOXSpMEucCXQwQvsGM4UV_omwQGcu5yxLkX1mhceZ0Mx3l42O3_BAdupw1ZUr4UeGz00gyporDspZTscmr4wY7fgVE-d6tt6bmWLqkMpVdPIXvc4U1XYESuUVV_3WLVV05dDp5a-ygb1IKeFRFvRWVlX5k7KENfCprTTWMu2HmTh1EQuPaL2dIX77SPtOGbRy7SvSbSVs4nT04YtOxrf1Px1DxgENrVshhpBID4An56Aldc_2E9P0smE3WkI3t1gIlAXZZ2aHGXu7_cfIBCfHIs9utEwb0k0mabA42rZ7FM5h7PAY3712F62GD5pZoHH-0hJ4PEx82XE3wEAAP__eYb2NA">