MaskRay added a comment. Thanks. This looks just looks me untested and likely uneeded logic.
My notes about --gcc-toolchain= and --prefix (-B) https://lore.kernel.org/linux-kbuild/20210303230708.l6pbk5o5nc2qa...@google.com/ In the presence of --gcc-toolchain= (even if it equals `$prefix/usr`), the magic detection should be avoided. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D97894/new/ https://reviews.llvm.org/D97894 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits