From 511a4917c452c53647d85bfaf1db6d3f5fb6ef3f Mon Sep 17 00:00:00 2001 From: John Criswell Date: Mon, 29 Sep 2003 20:10:08 +0000 Subject: [PATCH] Added information on input and output filenames. Added periods to the end of sentence fragments describing options. Added information to llc about which target architecture is selected for assembly language code generation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8741 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/CommandGuide/llc.html | 81 ++++++++++++++++++++++++++++++++------ docs/CommandGuide/lli.html | 35 ++++++++++++++-- 2 files changed, 100 insertions(+), 16 deletions(-) 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 -- 2.34.1