From db133151fc405573634877f13da7bcc2e9f2a1cd Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Mon, 10 Sep 2012 20:10:37 +0000 Subject: [PATCH] Remove clang man page reference to -Oz. It's not an option we want people to use, and is around for historical reasons. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163538 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/tools/clang.pod | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/tools/clang.pod b/docs/tools/clang.pod index 425a91ef03..10b6bbf445 100644 --- a/docs/tools/clang.pod +++ b/docs/tools/clang.pod @@ -7,7 +7,7 @@ clang - the Clang C, C++, and Objective-C compiler =head1 SYNOPSIS B [B<-c>|B<-S>|B<-E>] B<-std=>I B<-g> - [B<-O0>|B<-O1>|B<-O2>|B<-Os>|B<-Oz>|B<-O3>|B<-O4>] + [B<-O0>|B<-O1>|B<-O2>|B<-Os>|B<-O3>|B<-O4>] B<-W>I B<-pedantic> B<-I>I B<-L>I B<-D>I @@ -263,13 +263,12 @@ may not exist on earlier ones. =over -=item B<-O0> B<-O1> B<-O2> B<-Os> B<-Oz> B<-O3> B<-O4> +=item B<-O0> B<-O1> B<-O2> B<-Os> 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<-Oz> is like B<-Os> -(and thus B<-O2>), but reduces code size further. B<-O3> is like B<-O2>, +B<-O2> with extra optimizations to reduce code size. 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 -- 2.40.0