[PATCH] D144084: [LLD] [COFF] Don't try to detect MSVC installations in mingw mode
Hans Wennborg via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 15 09:56:41 PST 2023
hans added inline comments.
================
Comment at: lld/COFF/Driver.cpp:1515
+ // installations when operating in mingw mode. (This also makes LLD ignore
+ // winsysroot and vctoolsdir arguments.)
+ detectWinSysRoot(args);
----------------
mstorsjo wrote:
> hans wrote:
> > i assume lld will warn about unused arguments if the user tries to use /winsysroot or /vctoolsdir in mingw mode?
> No, lld doesn't warn about unclaimed arguments.
Hmm, should we make it warn in this case? Just silently ignoring /winsysroot seems like a bad experience.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D144084/new/
https://reviews.llvm.org/D144084
More information about the llvm-commits
mailing list