[PATCH] D132444: [clang] Allow using -rtlib=platform to switching to the default rtlib on all targets

Nico Weber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 23 04:29:06 PDT 2022


thakis added a comment.

Do we have precedent for "platform" for this? For fuse-ld=, one is supposed to use `-fuse-ld=` (without anything after the `=`) to get the default ld. That's not great (...but it can't collide with actual linker names, i suppose).

Using "platform" (or any other self-descriptive name) for this seems easier to understand than passing an empty value. But it'd be nice if we could use this consistently in our various flags.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D132444



More information about the cfe-commits mailing list