[PATCH] D99556: Add support to -Wa,--version in clang

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 29 19:24:48 PDT 2021


MaskRay added a comment.

gcc does not understand options in `-Wa,` so `-Wa,--version` needs to be used this way: `gcc -Wa,--version -c -x assembler /dev/null -o /dev/null`
The verbose syntax makes it not that useful. If the kernel really wants to use it, I have no issue with it.

`-integrated-as` => `-fintegrated-as`. `-i*` options are generally used for include related features.
Similarly, `-no-integrated-as` => `-fno-integrated-as`


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D99556/new/

https://reviews.llvm.org/D99556



More information about the cfe-commits mailing list