[PATCH] D142933: Add -print-multi-selection-flags argument
Michael Platings via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 2 13:03:07 PST 2023
michaelplatings marked an inline comment as done.
michaelplatings added inline comments.
================
Comment at: clang/lib/Driver/Driver.cpp:2213
+ if (C.getArgs().hasArg(options::OPT_print_multi_selection_flags)) {
+ for (StringRef Attr : TC.getMultiSelectionFlags(C.getArgs()))
+ llvm::outs() << Attr << '\n';
----------------
michaelplatings wrote:
> Joe wrote:
> > Do we want to parse the multilib.yaml here so we can print out custom flags as well? It could help diagnose issues people have with them.
> Yes, I think that would be an improvement. Might need to go in a later patch though.
Should be working now.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142933/new/
https://reviews.llvm.org/D142933
More information about the cfe-commits
mailing list