[PATCH] Add -disable-opt option to LTO

Bill Wendling wendling at apple.com
Wed Feb 27 11:17:35 PST 2013


This patch LGTM. What would be really nice is a way to disable individual passes, but that's beyond the scope of this patch.

-bw

On Feb 26, 2013, at 6:13 PM, Cristiano Giuffrida <giuffrida at cs.vu.nl> wrote:

> Hi,
> the attached patch adds the -disable-opt option to LTO. The effect is
> self-explanatory. I think this should be considered for merging
> (hopefully for the upcoming 3.3 release) for the following reasons:
> 
> - Consistency with opt (which supports the same option with the same
> meaning and description).
> - Debugging gold plugin-based linking without optimizations getting in the way.
> - Debugging programs linked with the gold plugin while preserving the
> original debug info.
> - Fine-grained control over LTO passes using the gold plugin in
> combination with opt (or clang/dragonegg).
> 
> Thanks,
> 
> Cristiano
> <disable-opt.patch>_______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list