luporl wrote: I've run `flang/test/Driver/no-duplicate-main.f90` manually on Darwin and noticed that the third RUN line fails, because no error happens: `! RUN: not %flang -o %t.exe %t %t.c-object 2>&1`
So maybe `-whole-archive` is just not needed on it? https://github.com/llvm/llvm-project/pull/75393 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits