[PATCH] D90457: [clang][driver] Set LTO mode based on input files

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 9 09:36:24 PST 2021


MaskRay added a comment.

In D90457#2551698 <https://reviews.llvm.org/D90457#2551698>, @tbaeder wrote:

> Hey @MaskRay, have you thought about this some more? Or is it too much magic and you'd rather reject it altogether?

Yes, it should be rejected. I've seen cases where people want `clang -c a.bc` to produce an object file instead of enabling LTO.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D90457



More information about the cfe-commits mailing list