<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/65158>65158</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Merge "[Driver] Report warnings for unclaimed TargetSpecific options for assembler input" into release/17.x
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang:driver,
release:fixed-in-main
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
MaskRay
</td>
</tr>
</table>
<pre>
/cherry-pick e9d454d1c195958645fb0948f8b97262e7f8b33a
This fixes a regression when certain driver options are marked as `TargetSpecific`: for `.s` we inappropriately emit `unsupported option` errors (even on targets that support the options). This brings back the behavior before `TargetSpecific` and properly fixes #65023
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxsksFymzAQhp9GXHbsERLI6MDBqce3XNK8gAQLqBYSsxJO_PYdiNNOZ3qBw_67_69v16TkxoDYsvqF1ZfCrHmK1L6adHszj8LG_tEyce0mJHocFtfdAHVf1VVfdqWudd2oqh4s11UzNFafhBJ4GhorpWH8wvj56_s-uQSD-8QEBghHwpRcDPAxYYAOKRsXoCd3R4K4ZBdDAkMIs6Eb9mASMMXfDY2Yfy7YucF1THEmzzBE2mrHxBSHDwQXzLJQXMiZjP4BOLu8CdaQ1mWJlLF_OmwNSBQpARMN3jFADJB3kwR5MhmeLZAn_I7FhD7C_hxLLowJrOluu8DiZO4uElgcIuF_E4MJPWzxkPzjCYQJqWouZNG3stdSmwLbUmlZ11yqqphadWoqaXR10iepNGrelH3XlSiw6bXEsnCt4EJyzUuupBbVUanqpDQKXlppy4GziuNsnD96f5-PkcbCpbRiq-qybgpvLPq0X4AQnTdhZPL8tQwmBBM_mBCEHk1CJs9b6P7gwmE2Lmz1-lJQuw0-2HVMrOLepZz-WmWXPbavSCPCrn-5fM2uL_CGO98PQ2GHuW1zDZ03bsYe_sX35zA2kUkJZ-uRwIVlzUwIcCFH-M4pruXp-Fms5Nsp5yUxeWbiysR1dHla7bGLMxPXLePzd1go_sIuM3Hd2SQmrjue3wEAAP__u4AGrA">