[cfe-commits] r104304 - /cfe/trunk/docs/tools/clang.pod

Daniel Dunbar daniel at zuster.org
Thu May 20 17:28:14 PDT 2010


Author: ddunbar
Date: Thu May 20 19:28:14 2010
New Revision: 104304

URL: http://llvm.org/viewvc/llvm-project?rev=104304&view=rev
Log:
docs: Man page tweaks, to mention the integrated assembler and the
-integrated-as and -no-integrated-as options.

Modified:
    cfe/trunk/docs/tools/clang.pod

Modified: cfe/trunk/docs/tools/clang.pod
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/tools/clang.pod?rev=104304&r1=104303&r2=104304&view=diff
==============================================================================
--- cfe/trunk/docs/tools/clang.pod (original)
+++ cfe/trunk/docs/tools/clang.pod Thu May 20 19:28:14 2010
@@ -50,10 +50,13 @@
 =item B<Code Generation and Optimization>
 
 This stage translates an AST into low-level intermediate code (known as "LLVM
-IR") and ultimately to machine code (depending on the optimization level).  This
-phase is responsible for optimizing the generated code and handling
-target-specfic code generation.  The output of this stage is typically called a
-".s" file or "assembly" file.
+IR") and ultimately to machine code.  This phase is responsible for optimizing
+the generated code and handling target-specfic code generation.  The output of
+this stage is typically called a ".s" file or "assembly" file.
+
+Clang also supports the use of an integrated assembler, in which the code
+generator produces object files directly. This avoids the overhead of generating
+the ".s" file and of calling the target assembler.
 
 =item B<Assembler>
 
@@ -325,17 +328,21 @@
 
 =item B<-Xclang> I<arg>
 
-Pass I<arg> to the clang compiler.
+Pass I<arg> to the clang compiler frontend.
 
 =item B<-Xlinker> I<arg>
 
 Pass I<arg> to the linker.
 
+=item B<-mllvm> I<arg>
+
+Pass I<arg> to the LLVM backend.
+
 =item B<-Xpreprocessor> I<arg>
 
 Pass I<arg> to the preprocessor.
 
-=item B<-o> I<file>               
+=item B<-o> I<file>
 
 Write output to I<file>.
 
@@ -359,6 +366,12 @@
 
 Save intermediate compilation results.
 
+=item B<-integrated-as> B<-no-integrated-as>
+
+Used to enable and disable, respectively, the use of the integrated
+assembler. Whether the integrated assembler is on by default is target
+dependent.
+
 =item B<-time>
 
 Time individual commands.





More information about the cfe-commits mailing list