[clang] [clang] [MinGW] Explicitly always pass the -fno-use-init-array (PR #68571)

Eli Friedman via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 9 14:39:18 PDT 2023


efriedma-quic wrote:

It's only breaking for downstreams that were messing with the option in the first place.  Searching GitHub, the only downstream I can find that actually touches it is rustc.

I understand it's simpler to just override the behavior for MinGW, but I think it's really confusing to have an option in TargetOptions that's arbitrarily ignored by some targets (both for developers reading the code, and for users).

https://github.com/llvm/llvm-project/pull/68571


More information about the cfe-commits mailing list