Skip to content
Commit 0b51e648 authored by Martin Storsjö's avatar Martin Storsjö
Browse files

[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
parent 69ffd49c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment