<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/79659>79659</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
clang: __HAVE_FUNCTION_MULTIVERSIONING is mis-reported in previously-shipped compilers
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang,
backend:AArch64
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
jroelofs
</td>
</tr>
</table>
<pre>
Clang's FMV support implicitly depends on support for ifuncs, which until recently [1, 2] weren't supported on Darwin platforms. This means that previously-shipped compilers report that they support it via the pre-defined macro, even when the feature does not work.
1: https://github.com/llvm/llvm-project/pull/73686
2: https://github.com/llvm/llvm-project/pull/73688/files#diff-7930fda388572c1b90c30151343a92d058fd44508c32406a6a955bec9e83ce82R1426
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJykkk9v4ywQhz8NvqBEeDD-c_DBTer3jbRNpW7ba4RhHNMSYwFOlG-_cqJubyut9mJLzPBofswjQzDHEbEm4oGIbSLnODhff3iH1vUh6Zy-1hsrxyOBItD26Z2GeZqcj9ScJmuUifZKNU446kDd-LvaO09NP48qENjQy2DUQOcxGks9KhyXW0Q8pEsRiNjSC3ocCRTxi4B6wW2lv5iRTlbG3vlTWNPXwQR6QjkGGgcZ6eTxbNwc7HUVBjNNqKlyp8lY9IF6vA1za4wDXr-Hj_Rs5HK2AFYaezOipiepvFtmwjOO9DLgeGvpUcbZI9UOAx1dpBfnP9eEbQlr7t-U8IYOMU6B8IZAS6A9mjjM3Vq5E4HW2vPXbzV594EqEmin2VoCbcHzMr9z4F85JYG2NxYDAa5N36-KirNeS16WogCVdhVTnKUi5RmXFWgmyl5nmWCl4pCxXOayEqJDVWHJFZbwkmaQJ7rmuuKVTLBOC5ZzVqZpkQx1wbtOyTwVOWNcCJZWWvSyKrO06llR9YmpgUHGUsgBoOTFOusFqjxjqqggz2VBMoYnaex6ybR2_piYEGasiyoXVWJlhzbc7ARQdw-BwIYAdFJ94qgJb5rGqyHPlorYJr6-vU43HwPJmDUhhm92NNFifQfxhh4O_zfvj4f2bb953T3vD09vP153748vP3fP-93-P7qoZsLqrhFquqj4B9-S2dv6r7d3yxuW_S2RfwUAAP__qdgnYw">