================ @@ -6052,6 +6054,10 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA, if (!RawTriple.isOSDarwin() && !RawTriple.isNVPTX()) CmdArgs.push_back("-mconstructor-aliases"); + // Assume -fno-strict-bool in the Darwin kernel. + if (KernelOrKext) ---------------- devincoughlin wrote:
For this you should also add a Driver test that confirms that the flag is passed to the fronted when the driver is passed -mkernel or -fapple-kext. https://github.com/llvm/llvm-project/pull/116732 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits