[cfe-commits] r130569 - /cfe/trunk/docs/tools/clang.pod

Bob Wilson bob.wilson at apple.com
Fri Apr 29 19:04:51 PDT 2011


Please also update the synopsis section and the "=item" line preceding that paragraph.

On Apr 29, 2011, at 6:40 PM, Chad Rosier wrote:

> Author: mcrosier
> Date: Fri Apr 29 20:40:58 2011
> New Revision: 130569
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=130569&view=rev
> Log:
> Add documentation for -Oz flag.
> 
> Modified:
>    cfe/trunk/docs/tools/clang.pod
> 
> Modified: cfe/trunk/docs/tools/clang.pod
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/tools/clang.pod?rev=130569&r1=130568&r2=130569&view=diff
> ==============================================================================
> --- cfe/trunk/docs/tools/clang.pod (original)
> +++ cfe/trunk/docs/tools/clang.pod Fri Apr 29 20:40:58 2011
> @@ -268,7 +268,8 @@
> Specify which optimization level to use.  B<-O0> means "no optimization": this
> level compiles the fastest and generates the most debuggable code.  B<-O2> is a
> moderate level of optimization which enables most optimizations.  B<-Os> is like
> -B<-O2> with extra optimizations to reduce code size.  B<-O3> is like B<-O2>,
> +B<-O2> with extra optimizations to reduce code size.  B<-Oz> is like B<-Os> 
> +(and thus B<-O2>), but reduces code size further.  B<-O3> is like B<-O2>,
> except that it enables optimizations that take longer to perform or that may
> generate larger code (in an attempt to make the program run faster).  On
> supported platforms, B<-O4> enables link-time optimization; object files are
> 
> 
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits




More information about the cfe-commits mailing list