mehdi_amini added a comment. In https://reviews.llvm.org/D30920#702979, @pirama wrote:
> The driver (accepts, but) ignores Os and other optimization flags for non-lto > link-only actions. That it has an effect for LTO is seems to be an > implementation detail. Since optimization flags are compiler-only options, > and Clang already silently (without a warning) ignores these flags during > link-only invocations, silently transforming them when passing to the plugin > seems reasonable. No it is not reasonable to me. The users ask for A and we're doing B. https://reviews.llvm.org/D30920 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits