From a2aa304bc4bbd22988eccd9d9be5c41293428a89 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Tue, 10 Aug 2004 16:40:56 +0000 Subject: Finish HTMLizing the document. Configuration section is very crufty. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15611 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/CompilerDriver.html | 126 ++++++++++++----------------------------------- 1 file changed, 32 insertions(+), 94 deletions(-) (limited to 'docs/CompilerDriver.html') diff --git a/docs/CompilerDriver.html b/docs/CompilerDriver.html index a5ba1a6854..927ed766ca 100644 --- a/docs/CompilerDriver.html +++ b/docs/CompilerDriver.html @@ -336,7 +336,7 @@ optimization.

Configuration Files
-

Types of Files

+

File Types

There are two types of configuration files: the master configuration file and the language specific configuration file. The master configuration file contains the general configuration of llvmc itself and is supplied @@ -405,100 +405,38 @@ optimization.

-
- Master Configuration Items -
+
Configuration Items
-
-
-=head3 Section: [lang=I]
-
-This section provides the master configuration data for a given language. The
-language specific data will be found in a file named I.
-
-=over
-
-=item CI
-
-This adds the I specified to the list of recognized suffixes for
-the I identified in the section. As many suffixes as are commonly used
-for source files for the I should be specified. 
-
-=back
-
-=begin html
-
-

For example, the following might appear for C++: -


-[lang=C++]
-suffix=.cpp
-suffix=.cxx
-suffix=.C
-

- -=end html -
-
- - -
- Language Specific Configuration Items -
-
-
-=head3 Section: [general]
-
-=over
-
-=item C
-
-This item specifies whether the language has a pre-processing phase or not. This
-controls whether the B<-E> option works for the language or not.
-
-=item C
-
-This item specifies the kind of output the language's compiler generates. The
-choices are either bytecode (C) or LLVM assembly (C).
-
-=back
-
-=head3 Section: [-O0]
-
-=over
-
-=item CI
-
-This item specifies the I to use for pre-processing the input.
-
-=over
-
-Valid substitutions for this item are:
-
-=item %in%
-
-The input source file.
-
-=item %out%
-
-The output file.
-
-=item %options%
-
-Any pre-processing specific options (e.g. B<-I>).
-
-=back
-
-=item CI
-
-This item specifies the I to use for translating the source
-language input into the output format given by the C item.
-
-=item CI
-
-This item specifies the I for optimizing the translator's output.
-
-=back
-
+

The following description of configuration items is syntax-less and simply + uses a naming hierarchy to describe the configuration items. Whatever + syntax is chosen will need to map the hierarchy to the given syntax.

+ + + + + + + + + + + + + + + + + + + + + +
NameValue TypeDescription
Capabilities.hasPreProcessorbooleanThis item specifies whether the language has a + pre-processing phase or not. This controls whether the B<-E> option works + for the language or not.
Capabilities.outputFormat"bc" or "ll"This item specifies the kind of output the language's + compiler generates. The choices are either bytecode (bc) or LLVM + assembly (ll).
Capabilities.understandsOptimizationbooleanIndicates whether the compiler for this language understands the + -O options or not
-- cgit v1.2.3