summaryrefslogtreecommitdiff
path: root/docs/CompilerDriver.html
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-08-10 16:40:56 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-08-10 16:40:56 +0000
commita2aa304bc4bbd22988eccd9d9be5c41293428a89 (patch)
tree3a135fc5c36b7fe12b4b3fb473e2730e543538bd /docs/CompilerDriver.html
parentd8473378febba85e8b7b72311de08f4ddcc1bf5a (diff)
downloadllvm-a2aa304bc4bbd22988eccd9d9be5c41293428a89.tar.gz
llvm-a2aa304bc4bbd22988eccd9d9be5c41293428a89.tar.bz2
llvm-a2aa304bc4bbd22988eccd9d9be5c41293428a89.tar.xz
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
Diffstat (limited to 'docs/CompilerDriver.html')
-rw-r--r--docs/CompilerDriver.html126
1 files changed, 32 insertions, 94 deletions
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.</p>
<!-- _______________________________________________________________________ -->
<div class="doc_subsection"><a name="filetypes"></a>Configuration Files</div>
<div class="doc_text">
- <h3>Types of Files</h3>
+ <h3>File Types</h3>
<p>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 <tt>llvmc</tt> itself and is supplied
@@ -405,100 +405,38 @@ optimization.</p>
</div>
<!-- _______________________________________________________________________ -->
-<div class="doc_subsection"><a name="master_items"></a>
- Master Configuration Items
-</div>
+<div class="doc_subsection"><a name="master_items">Configuration Items</a></div>
<div class="doc_text">
- <pre>
-
-=head3 Section: [lang=I<LANGUAGE>]
-
-This section provides the master configuration data for a given language. The
-language specific data will be found in a file named I<LANGUAGE>.
-
-=over
-
-=item C<suffix=>I<suffix>
-
-This adds the I<suffix> specified to the list of recognized suffixes for
-the I<LANGUAGE> identified in the section. As many suffixes as are commonly used
-for source files for the I<LANGUAGE> should be specified.
-
-=back
-
-=begin html
-
-<p>For example, the following might appear for C++:
-<pre><tt>
-[lang=C++]
-suffix=.cpp
-suffix=.cxx
-suffix=.C
-</tt></pre></p>
-
-=end html
-</pre>
-</div>
-
-<!-- _______________________________________________________________________ -->
-<div class="doc_subsection"><a name="lang_items"></a>
- Language Specific Configuration Items
-</div>
-<div class="doc_text">
- <pre>
-=head3 Section: [general]
-
-=over
-
-=item C<hasPreProcessor=yes|no>
-
-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<output=bc|ll>
-
-This item specifies the kind of output the language's compiler generates. The
-choices are either bytecode (C<bc>) or LLVM assembly (C<ll>).
-
-=back
-
-=head3 Section: [-O0]
-
-=over
-
-=item C<preprocess=>I<commandline>
-
-This item specifies the I<commandline> 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 C<translate=>I<commandline>
-
-This item specifies the I<commandline> to use for translating the source
-language input into the output format given by the C<output> item.
-
-=item C<optimize=>I<commandline>
-
-This item specifies the I<commandline> for optimizing the translator's output.
-
-=back
-</pre>
+ <p>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.</p>
+ <table>
+ <tr>
+ <th>Name</th>
+ <th>Value Type</th>
+ <th>Description</th>
+ </tr>
+ <tr>
+ <td><b>Capabilities.hasPreProcessor</b></td>
+ <td>boolean</td>
+ <td class="td_left">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.</td>
+ </tr>
+ <tr>
+ <td><b>Capabilities.outputFormat</b></td>
+ <td>"bc" or "ll"</td>
+ <td class="td_left">This item specifies the kind of output the language's
+ compiler generates. The choices are either bytecode (<tt>bc</tt>) or LLVM
+ assembly (<tt>ll</tt>).</td>
+ </tr>
+ <tr>
+ <td><b>Capabilities.understandsOptimization</b></td>
+ <td>boolean</td>
+ <td>Indicates whether the compiler for this language understands the
+ <tt>-O</tt> options or not</td>
+ </tr>
+ </table>
</div>
<!-- *********************************************************************** -->