diff --git a/docs/CommandGuide/llc.html b/docs/CommandGuide/llc.html index 812f28a80b8..26e680342cd 100644 --- a/docs/CommandGuide/llc.html +++ b/docs/CommandGuide/llc.html @@ -20,7 +20,7 @@ llc SYNOPSIS -llc [options] < filename> +llc [options] [filename]

DESCRIPTION

@@ -28,6 +28,62 @@ DESCRIPTION The llc command compiles LLVM bytecode into assembly language for a specified architecture. The assembly language output can then be passed through a native assembler and linker to generate native code. +

+The choice of architecture for the output assembly code is determined as +follows: + +

+ +

+ +If filename is not specified, or if filename is -, llc reads its input from +standard input. Otherwise, it will read its input from filename. +

+ +If the -o option is left unspecified, then llc will send its output to standard +output if the input is from standard input. If the -o option specifies -, then +the output will also be sent to standard output. +

+ +If no -o option is specified and an input file other than - is specified, then +llc creates the output filename as follows: + +

OPTIONS @@ -36,42 +92,42 @@ OPTIONS

-lli [options] < filename> +lli [options] [filename] [args ...]

DESCRIPTION

The lli command is the LLVM interpreter. It takes a program in LLVM bytecode -format and executes it, either using an interpreter or a Just In Time (JIT) -compiler. +format and executes it using an interpreter or a Just In Time (JIT) compiler. +

+ +If filename is not specified, then lli reads its input from standard input. +

+The optional arguments specified on the command line are passed to the executed +program as arguments. +

+ +

+MAIN FUNCTION +

+ +The main() function of the bytecode program is where execution starts. It +is passed three arguments: + + + +The first argument to the program is the name of the executed bytecode file +(with the .bc suffix removed).

OPTIONS