[clang] [flang][driver] Don't use -whole-archive on Darwin (PR #75393)

Leandro Lupori via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 14 04:52:34 PST 2023


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


More information about the cfe-commits mailing list