MaskRay added a comment. In D139717#3998077 <https://reviews.llvm.org/D139717#3998077>, @manojgupta wrote:
> Xlinker still works. Xcompiler is failing. > > A google search will show that Xcompiler is a wide-spread option used by many > packages. Whether or not GCC supports it is not relevant. Please do not > remove options just because you do not use them. Can you give an example how they use `-Xcompiler`? % gcc -Xcompiler,-fpic -c a.c gcc: error: unrecognized command-line option ‘-Xcompiler,-fpic’ % gcc -Xcompiler -fpic -c a.c gcc: error: unrecognized command-line option ‘-Xcompiler’; did you mean ‘--compile’? My commit message clearly says why the joined form is awkward and should be removed. It seems that the many occurrences you found are likely for GNU libtool (`-Xcompiler foo` `-Wc,foo`), not for Clang Driver. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D139717/new/ https://reviews.llvm.org/D139717 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits