diff options
| author | Chad Rosier <mcrosier@apple.com> | 2011-04-30 01:40:58 +0000 |
|---|---|---|
| committer | Chad Rosier <mcrosier@apple.com> | 2011-04-30 01:40:58 +0000 |
| commit | bc8d7c27d96346b232e824d4bf901433009796de (patch) | |
| tree | 32dac3879386469c17ea1f75e306f27296ed3b38 /clang/docs/tools | |
| parent | 6e399a6ecb9f764671385a833de51774783dd854 (diff) | |
| download | bcm5719-llvm-bc8d7c27d96346b232e824d4bf901433009796de.tar.gz bcm5719-llvm-bc8d7c27d96346b232e824d4bf901433009796de.zip | |
Add documentation for -Oz flag.
llvm-svn: 130569
Diffstat (limited to 'clang/docs/tools')
| -rw-r--r-- | clang/docs/tools/clang.pod | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/docs/tools/clang.pod b/clang/docs/tools/clang.pod index 50b0199b73d..4f4c7bfc4a3 100644 --- a/clang/docs/tools/clang.pod +++ b/clang/docs/tools/clang.pod @@ -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 |

