]> granicus.if.org Git - clang/commitdiff
Add documentation for -Oz flag.
authorChad Rosier <mcrosier@apple.com>
Sat, 30 Apr 2011 01:40:58 +0000 (01:40 +0000)
committerChad Rosier <mcrosier@apple.com>
Sat, 30 Apr 2011 01:40:58 +0000 (01:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130569 91177308-0d34-0410-b5e6-96231b3b80d8

docs/tools/clang.pod

index 50b0199b73d6bd3cd345add9f91185ca1f8821a0..4f4c7bfc4a3581154a905594503dfdf6440eb237 100644 (file)
@@ -268,7 +268,8 @@ may not exist on earlier ones.
 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