From owner-svn-src-all@FreeBSD.ORG Mon May 2 21:10:13 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E0301065670; Mon, 2 May 2011 21:10:13 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 847038FC24; Mon, 2 May 2011 21:10:13 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id p42LADNA054797; Mon, 2 May 2011 21:10:13 GMT (envelope-from dim@svn.freebsd.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id p42LADdf054794; Mon, 2 May 2011 21:10:13 GMT (envelope-from dim@svn.freebsd.org) Message-Id: <201105022110.p42LADdf054794@svn.freebsd.org> From: Dimitry Andric Date: Mon, 2 May 2011 21:10:13 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r221347 - in head/usr.bin/clang: clang tblgen X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 May 2011 21:10:13 -0000 Author: dim Date: Mon May 2 21:10:13 2011 New Revision: 221347 URL: http://svn.freebsd.org/changeset/base/221347 Log: Minor updates to the clang and tblgen manpages. Modified: head/usr.bin/clang/clang/clang.1 head/usr.bin/clang/tblgen/tblgen.1 Modified: head/usr.bin/clang/clang/clang.1 ============================================================================== --- head/usr.bin/clang/clang/clang.1 Mon May 2 21:05:52 2011 (r221346) +++ head/usr.bin/clang/clang/clang.1 Mon May 2 21:10:13 2011 (r221347) @@ -125,7 +125,7 @@ .\" ======================================================================== .\" .IX Title "CLANG 1" -.TH CLANG 1 "2010-10-25" "clang 2.9" "Clang Tools Documentation" +.TH CLANG 1 "2011-04-30" "clang 3.0" "Clang Tools Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l @@ -135,7 +135,7 @@ clang \- the Clang C, C++, and Objective .SH "SYNOPSIS" .IX Header "SYNOPSIS" \&\fBclang\fR [\fB\-c\fR|\fB\-S\fR|\fB\-E\fR] \fB\-std=\fR\fIstandard\fR \fB\-g\fR - [\fB\-O0\fR|\fB\-O1\fR|\fB\-O2\fR|\fB\-Os\fR|\fB\-O3\fR|\fB\-O4\fR] + [\fB\-O0\fR|\fB\-O1\fR|\fB\-O2\fR|\fB\-Os\fR|\fB\-Oz\fR|\fB\-O3\fR|\fB\-O4\fR] \fB\-W\fR\fIwarnings...\fR \fB\-pedantic\fR \fB\-I\fR\fIdir...\fR \fB\-L\fR\fIdir...\fR \fB\-D\fR\fImacro[=defn]\fR @@ -174,7 +174,7 @@ parse errors. The output of this stage .IX Item "Code Generation and Optimization" This stage translates an \s-1AST\s0 into low-level intermediate code (known as \*(L"\s-1LLVM\s0 \&\s-1IR\s0\*(R") and ultimately to machine code. This phase is responsible for optimizing -the generated code and handling target-specfic code generation. The output of +the generated code and handling target-specific code generation. The output of this stage is typically called a \*(L".s\*(R" file or \*(L"assembly\*(R" file. .Sp Clang also supports the use of an integrated assembler, in which the code @@ -325,12 +325,13 @@ generate instructions that are valid on may not exist on earlier ones. .SS "Code Generation Options" .IX Subsection "Code Generation Options" -.IP "\fB\-O0\fR \fB\-O1\fR \fB\-O2\fR \fB\-Os\fR \fB\-O3\fR \fB\-O4\fR" 4 -.IX Item "-O0 -O1 -O2 -Os -O3 -O4" +.IP "\fB\-O0\fR \fB\-O1\fR \fB\-O2\fR \fB\-Os\fR \fB\-Oz\fR \fB\-O3\fR \fB\-O4\fR" 4 +.IX Item "-O0 -O1 -O2 -Os -Oz -O3 -O4" Specify which optimization level to use. \fB\-O0\fR means \*(L"no optimization\*(R": this level compiles the fastest and generates the most debuggable code. \fB\-O2\fR is a moderate level of optimization which enables most optimizations. \fB\-Os\fR is like -\&\fB\-O2\fR with extra optimizations to reduce code size. \fB\-O3\fR is like \fB\-O2\fR, +\&\fB\-O2\fR with extra optimizations to reduce code size. \fB\-Oz\fR is like \fB\-Os\fR +(and thus \fB\-O2\fR), but reduces code size further. \fB\-O3\fR is like \fB\-O2\fR, 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, \fB\-O4\fR enables link-time optimization; object files are @@ -389,15 +390,9 @@ Pass \fIarg\fR to the static analyzer. .IP "\fB\-Xassembler\fR \fIarg\fR" 4 .IX Item "-Xassembler arg" Pass \fIarg\fR to the assembler. -.IP "\fB\-Xclang\fR \fIarg\fR" 4 -.IX Item "-Xclang arg" -Pass \fIarg\fR to the clang compiler frontend. .IP "\fB\-Xlinker\fR \fIarg\fR" 4 .IX Item "-Xlinker arg" Pass \fIarg\fR to the linker. -.IP "\fB\-mllvm\fR \fIarg\fR" 4 -.IX Item "-mllvm arg" -Pass \fIarg\fR to the \s-1LLVM\s0 backend. .IP "\fB\-Xpreprocessor\fR \fIarg\fR" 4 .IX Item "-Xpreprocessor arg" Pass \fIarg\fR to the preprocessor. Modified: head/usr.bin/clang/tblgen/tblgen.1 ============================================================================== --- head/usr.bin/clang/tblgen/tblgen.1 Mon May 2 21:05:52 2011 (r221346) +++ head/usr.bin/clang/tblgen/tblgen.1 Mon May 2 21:10:13 2011 (r221347) @@ -125,7 +125,7 @@ .\" ======================================================================== .\" .IX Title "TBLGEN 1" -.TH TBLGEN 1 "2010-06-19" "LLVM 2.9" "LLVM Command Guide" +.TH TBLGEN 1 "2011-04-23" "LLVM 3.0" "LLVM Command Guide" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l @@ -212,4 +212,4 @@ If \fBtblgen\fR succeeds, it will exit w occurs, it will exit with a non-zero value. .SH "AUTHORS" .IX Header "AUTHORS" -Maintained by The \s-1LLVM\s0 Team (). +Maintained by The \s-1LLVM\s0 Team ().