<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/64255>64255</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
XRay installs headers unconditionally
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
rorth
</td>
</tr>
</table>
<pre>
The XRay headers are always installed, even on targets (like Solaris/amd64 and Solaris/sparcv9) where XRay isn't supported. This is useless as best, but can actually be harmful as seen in [MicroBenchmarks/XRay tests FAIL to link](https://github.com/llvm/llvm-project/issues/64249).
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJykkU2P2yAQhn8Nvoxq2WNjxwcfdruyVKm9tHvodTCzMQ2BiIFE-feVs_2694QEaJ533odE3DEwz0o_K_1SUclbTHOKKW-VifY-v24M37_SHTYmy0mAEgP5G90FXJBM3rNV-BH4ygFigEzpyFlA4cG7E8O36Ck5UbjQ2Q49ULD_3MmF0nqdFE5w2zj9YjkJCscMUi6XmDLbGl43J-AEirBnESABw5J3sikZVgpAay7k_R0Mw0bp_Fb8_k2YA7gASj9_cWuKzxzW7UzptPMfuMySBZanT58hR_AunJR-UXjYcr6I6p4ULgqXo8tbMfUazwoX76-_jw-XFH_wmhUuTqTwPnbosd-Xqis7d3bqJqp4boepOTQ4dlht87Bqa5rJHAjHrsVm6NvJjnZqJz0eNJnKzdhg14xd27aou7Y209givw3Y9utqukn1DZ_J-XoPUcd0rB74eehR68qTYS8Pr4iBb_B4VIi75jQ_gptyFNU33kmWv1Oyy57ndw_vguWP_BLWGKzLLoa96aokP_9XS1r_DAAA__8OttNu">