diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-05-21 00:28:14 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-05-21 00:28:14 +0000 |
commit | 073190dcb6f8186cfcc3ebb65c2802d2024729b0 (patch) | |
tree | 4e678a8aeeafa32ff3a9843af7330030e5f23ed0 /docs/tools | |
parent | 439794eea9a2afb4f572f1158f06d088f124eb20 (diff) |
docs: Man page tweaks, to mention the integrated assembler and the
-integrated-as and -no-integrated-as options.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104304 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/tools')
-rw-r--r-- | docs/tools/clang.pod | 25 |
1 files changed, 19 insertions, 6 deletions
diff --git a/docs/tools/clang.pod b/docs/tools/clang.pod index 42cf8fa2d7..0c1ab574d5 100644 --- a/docs/tools/clang.pod +++ b/docs/tools/clang.pod @@ -50,10 +50,13 @@ parse errors. The output of this stage is an "Abstract Syntax Tree" (AST). =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 @@ Pass I<arg> to the assembler. =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 @@ Print the paths used for finding libraries and programs. 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. |