[LLD] [MinGW] Hook up more LTO options
Many of these options can be passed to the linker by the Clang driver based on other options passed to Clang, after a23bf178. Before commit 5c92c9f3, these were ignored by lld, but now we're erroring out on the unrecognized options. The ELF linker has even more LTO options available, but not all of these are currently settable via the lld-link option interface, and some aren't set automatically by Clang but only if the user manually passes them - and thus probably aren't in wide use so far. (Previously LLD/MinGW would have accepted them silently but ignored them though.) Differential Revision: https://reviews.llvm.org/D158887
Loading
Please sign in to comment