This came up in this comment here: https://reviews.llvm.org/D80425#inline-737983
and this seems like the more proper fix for sure.
Paths
| Differential D80438
[LLD/MinGW]: Expose --thinlto-cache-dir ClosedPublic Authored by thieta on May 22 2020, 6:30 AM.
Details
Summary This came up in this comment here: https://reviews.llvm.org/D80425#inline-737983 and this seems like the more proper fix for sure.
Diff Detail
Event TimelineComment Actions Looks great in general, a couple nitpicks
thieta marked 4 inline comments as done. Comment Actions LGTM, thanks!
This revision is now accepted and ready to land.May 23 2020, 12:43 PM Comment Actions
Sure, can do. What's your preferred form of git author line for this? Closed by commit rGf794808bb9ec: [LLD/MinGW]: Expose --thinlto-cache-dir (authored by thieta, committed by mstorsjo). · Explain WhyMay 24 2020, 2:40 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 265917 lld/MinGW/Driver.cpp
lld/MinGW/Options.td
lld/test/MinGW/driver.test
|
This option is the kind where you only have one (that's how the option is handled in COFF/Driver.cpp), so it's probably better to go with getLastArg() instead - you could place it next to e.g. OPT_reproduce.