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 | 4525ae5cd5af82fe06c925b60267afce12d594b1 (patch) | |
tree | 1bcfe4cd7e2edd297d4f5f42699e77f8c23187ae /docs/tools | |
parent | 39cd58cbffd1f7a144483857496df0294ce9c8e9 (diff) |
Add documentation for -Oz flag.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130569 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/tools')
-rw-r--r-- | docs/tools/clang.pod | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/tools/clang.pod b/docs/tools/clang.pod index 50b0199b73..4f4c7bfc4a 100644 --- a/docs/tools/clang.pod +++ b/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 |