[PATCH] D108881: [clang][driver] Honor the last -flto(=.*)? argument

Steven Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 7 14:53:17 PDT 2021


steven_wu added a comment.

If you didn't quite get what I mean, I am suggesting to cleanup all the reference to the old flag. Since `-flto` is rewrite by the driver to `-flto=full`, clang should not query `OPT_flto` anymore. All references to the old flag needs to be audited and removed while preserving the correct behavior.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D108881



More information about the cfe-commits mailing list