================ @@ -0,0 +1,5 @@ +/// Some target-specific options are ignored for GPU, so %clang exits with code 0. +// DEFINE: %{check} = %clang -### -c -mcmodel=medium ---------------- MaskRay wrote:
In general the error reporting is done in the driver and cc1 allows and ignores options that may be specific to other targets. > That said, we do have other options that we do need to suppress/ignore and > some of that does happen on cc1 level. Perhaps we should figure out them and check whether they should be moved to the driver https://github.com/llvm/llvm-project/pull/79222 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits