HomePhabricator

[MinGW] Ignore the --plugin and --plugin-opt option

Description

[MinGW] Ignore the --plugin and --plugin-opt option

GCC can use LLD with -fuse-ld=lld for MinGW these days, but by
default these options are passed to the linker (unless -fno-lto
is passed to the GCC driver).

Differential Revision: https://reviews.llvm.org/D57304

Details

Committed
mstorsjoJan 29 2019, 12:38 AM
Differential Revision
D57304: [LLD] [MinGW] Ignore the --plugin and --plugin-opt options
Branches
Unknown
Tags
Unknown

Event Timeline

Possibly backport it to 8.0 ? (In time for GCC 9)

Possibly backport it to 8.0 ? (In time for GCC 9)

I did indeed ask for that in https://reviews.llvm.org/D57304 (a user requested this commit and that it should be backported).