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).
Details
Details
- Reviewers
ruiu rnk pcc - Commits
- rG84d97e30428d: Merging r352459: --------------------------------------------------------------…
rG5d1862b76c88: [MinGW] Ignore the --plugin and --plugin-opt option
rL352493: Merging r352459:
rL352459: [MinGW] Ignore the --plugin and --plugin-opt option
rLLD352459: [MinGW] Ignore the --plugin and --plugin-opt option
Diff Detail
Diff Detail
Event Timeline
MinGW/Options.td | ||
---|---|---|
71–74 | I prefer not to name options if they are ignored. I mean you can define these options as shown below def: S<"plugin">; def: J<"plugin=">; def: S<"plugin-opt">; def: J<"plugin-opt=">; and that clearly conveys the intention that they are ignored, because you don't have a way to refer them. |
Comment Actions
Applied @ruiu's comments.
Or should I move them to another section entirely? (The rest of the surrounding ones do have names, but are ignored.)
Comment Actions
@hans - Can we cherrypick this one to the 8.0 release branch? A user requested it, as it would allow using LLD with GCC for MinGW.
I prefer not to name options if they are ignored. I mean you can define these options as shown below
and that clearly conveys the intention that they are ignored, because you don't have a way to refer them.