From a2aa304bc4bbd22988eccd9d9be5c41293428a89 Mon Sep 17 00:00:00 2001
From: Reid Spencer
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.
- -=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 C I - -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 -
-=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
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.
+Name | +Value Type | +Description | +
---|---|---|
Capabilities.hasPreProcessor | +boolean | +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. | +
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.understandsOptimization | +boolean | +Indicates whether the compiler for this language understands the + -O options or not | +