[llvm] [CodeGen] Sort .ctors in reverse on MinGW just like on other platforms (PR #68570)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 10 20:49:52 PDT 2023


MaskRay wrote:

It's better to make `UseInitArray` (set by `-fno-use-init-array` in `clang/lib/Driver/ToolChains/*.cpp`) actually reflect .ctors/.init_array. For `llc`'s default, you can update `codegen::InitTargetOptionsFromCodeGenFlags`

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


More information about the llvm-commits mailing list