diff options
| author | Ted Kremenek <kremenek@apple.com> | 2012-09-10 22:50:05 +0000 |
|---|---|---|
| committer | Ted Kremenek <kremenek@apple.com> | 2012-09-10 22:50:05 +0000 |
| commit | eedc12a1406c2d34dcd961a746d9be1474de6722 (patch) | |
| tree | d2ec49545b784ec58fd369563b66b0ebe0002dae /clang/docs | |
| parent | 3ff3199e61503b0c2ec332c928396443d60da37f (diff) | |
| download | bcm5719-llvm-eedc12a1406c2d34dcd961a746d9be1474de6722.tar.gz bcm5719-llvm-eedc12a1406c2d34dcd961a746d9be1474de6722.zip | |
Revert "Remove clang man page reference to -Oz. It's not an option we want people to use, and is around for historical reasons."
This should be discussed more first.
llvm-svn: 163560
Diffstat (limited to 'clang/docs')
| -rw-r--r-- | clang/docs/tools/clang.pod | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/clang/docs/tools/clang.pod b/clang/docs/tools/clang.pod index 10b6bbf4458..425a91ef037 100644 --- a/clang/docs/tools/clang.pod +++ b/clang/docs/tools/clang.pod @@ -7,7 +7,7 @@ clang - the Clang C, C++, and Objective-C compiler =head1 SYNOPSIS B<clang> [B<-c>|B<-S>|B<-E>] B<-std=>I<standard> B<-g> - [B<-O0>|B<-O1>|B<-O2>|B<-Os>|B<-O3>|B<-O4>] + [B<-O0>|B<-O1>|B<-O2>|B<-Os>|B<-Oz>|B<-O3>|B<-O4>] B<-W>I<warnings...> B<-pedantic> B<-I>I<dir...> B<-L>I<dir...> B<-D>I<macro[=defn]> @@ -263,12 +263,13 @@ may not exist on earlier ones. =over -=item B<-O0> B<-O1> B<-O2> B<-Os> B<-O3> B<-O4> +=item B<-O0> B<-O1> B<-O2> B<-Os> B<-Oz> B<-O3> B<-O4> 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 |

