[PATCH] D133457: Add Clang driver flags equivalent to cl's /MD, /MT, /MDd, /MTd.
Amy Huang via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 7 15:07:06 PDT 2022
akhuang added a comment.
In D133457#3832590 <https://reviews.llvm.org/D133457#3832590>, @mstorsjo wrote:
> @akhuang I noticed that https://github.com/llvm/llvm-project/blob/main/clang/lib/Driver/ToolChains/MSVC.cpp#L199-L200 has got an explicit check for `Args.hasArg(options::OPT__SLASH_MD, options::OPT__SLASH_MDd)` - I think that this would need to be amended to handle these cases too - or is that inferred from here somehow?
You're right, those cases aren't being handled right now. I'll upload a patch for that.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D133457/new/
https://reviews.llvm.org/D133457
More information about the cfe-commits
mailing list