[PATCH] D97902: [Driver] Clarify --gcc-toolchain

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 3 18:09:58 PST 2021


MaskRay added a subscriber: aaron.ballman.
MaskRay added a comment.

This is motivated by Linux kernel folks' confusion on `--gcc-toolchain` https://lore.kernel.org/linux-kbuild/20210303230708.l6pbk5o5nc2qa5of@google.com/
(it confused me, even if I had stared at this piece code a few times before!)

The command line option documentation is currently a bit messy, and lacks much information.
We probably need something similar to `include/clang/Basic/AttrDocs.td` by @aaron.ballman

I choose to add it inline before the infrastructure is available.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D97902/new/

https://reviews.llvm.org/D97902



More information about the cfe-commits mailing list