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

    <tr>
        <th>Summary</th>
        <td>
            clang doesn't support -Wa,--defsym
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            clang
      </td>
    </tr>

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

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

<pre>
    ```
$ clang -x assembler -c - -m32 -Wa,--defsym -Wa,_DJ64=1
clang: error: unsupported argument '--defsym' to option '-Wa,'
clang: error: unsupported argument '_DJ64=1' to option '-Wa,'
```

With gcc+gas this works as expected.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUkcuO2yAUhp_meIMcmYPjy4JFplEWfYFZVhiObVpsLA6ezrx9FSfVSLOpKiEuAn36-T_D7KeVSMP5Bc7Xwux5jklz5q0YovvQ0FTPUV2hugDWwgazTqJ8F4aZliFQEqUVpSgXhaJ8NYDfytLRyB_L8_jj-r2pQV3lA3IAQF0EpRTTfbOvvG9bTJmcMGnaF1qzAGz_cgBbkaOIW_ZxPS4OLmD7v8TPKP9Afv34Mb_6PIvJWsCXybDIs2fxO6ZfLAwLet_IZnKnwmnletWbgrRsZYdt3bSymHUv666SdpSOZGfbTvaGxqEZDY1NZ11feI0V1lUjlayUlPLkemWVq_p6UGrszgbqihbjwymEt-UU01R45p10f1ZdUwQzUODDJeKjE8S71qTv78thnxjqKnjO_EnIPgfSD6suEq-AbRbP-r4ILfYU9JzzxqAugDfA2-TzvA8nGxfA2x36XMotxZ9kM-DtyMiAt0fMN41_AgAA___3BcBc">