[cfe-commits] r130569 - /cfe/trunk/docs/tools/clang.pod
Chad Rosier
mcrosier at apple.com
Fri Apr 29 18:40:58 PDT 2011
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
More information about the cfe-commits
mailing list