From 514b9671f92f3ae688422ade7630fa09257ce267 Mon Sep 17 00:00:00 2001
From: Reid Spencer must produce exactly the same results as: To accomplish this, llvmc uses a very simple goal oriented
procedure to do its work. The overall goal is to produce a functioning
@@ -446,6 +446,16 @@ optimization.
- llvmc -O2 x.c
- llvmc -O2 y.c
- llvmc -O2 z.c
+ llvmc -O2 x.c -o x.o
+ llvmc -O2 y.c -o y.o
+ llvmc -O2 z.c -o z.o
llvmc -O2 x.o y.o z.o -o xyz
Description
Default
+
+ LLVMC ITEMS
+
version
+ string
+ Provides the version string for the contents of this
+ configuration file. What is accepted as a legal configuration file
+ will change over time and this item tells llvmc which version
+ should be expected.
+ b
+ LANG ITEMS
lang.name
@@ -520,7 +530,7 @@ optimization.
- translator.output
- native, bytecode or assembly
+ bytecode or assembly
This item specifies the kind of output the language's
translator generates.
bytecode
@@ -533,24 +543,6 @@ optimization.
whenever the final phase is not pre-processing.
false
-
- translator.optimizes
- boolean
- Indicates that the translator also optimizes. If
- this is true, then llvmc will skip the optimization phase
- whenever the final phase is optimization or later.
- false
-
-
translator.groks_dash_o
- boolean
- Indicates that the translator understands the
- intent of the various -On options to
- llvmc. This will cause the -On option to be
- given to the translator instead of the equivalent options provided by
- lang.optn.
- false
- OPTIMIZER ITEMS
optimizer.command
@@ -562,9 +554,9 @@ optimization.
optimizer.output
- native, bytecode or assembly
+ bytecode or assembly
This item specifies the kind of output the language's
- optimizer generates.
+ optimizer generates. Valid values are "assembly" and "bytecode"
bytecode
@@ -583,16 +575,6 @@ optimization.
whenever the final phase is optimization or later.
- false
-
optimizer.groks_dash_o
- boolean
- Indicates that the translator understands the
- intent of the various -On options to
- llvmc. This will cause the -On option to be
- given to the translator instead of the equivalent options provided by
- lang.optn.
- false
- ASSEMBLER ITEMS
- assembler.command
@@ -602,36 +584,6 @@ optimization.
input file and %out% for the output file.
<blank>
- LINKER ITEMS
-
- linker.libs
- library names
- This provides the list of runtime libraries that the
- source language could link with. In general, the libraries
- needed will be encoded into the LLVM Assembly or bytecode file.
- However, this list tells llvmc the names of the ones that
- apply to this source language. The names provided here should be
- unadorned with no suffix and no "lib" prefix.
-
- <blank>
-
-
- linker.lib_paths
- Fully qualifed local path names
- This item provides a list of potential directories
- in which the source language's runtime libraries might be located. If
- a given object file compiled with this language's translator is linked
- then those libraries will be given as -L options to the
- linker.
- <blank>
-
-
@@ -661,6 +613,13 @@ optimization.linker.output
- native, bytecode or assembly
- This item specifies the kind of output the language's
- translator generates.
- bytecode
-