A minor fix
[oota-llvm.git] / docs / CommandGuide / lli.html
1 <html>
2 <title>
3 LLVM: lli tool
4 </title>
5
6 <body bgcolor=white>
7
8 <center>
9 <h1>LLVM: <tt>lli</tt> tool</h1>
10 </center>
11 <HR>
12
13 <h3>
14 NAME
15 </h3>
16
17 <tt>lli</tt>
18
19 <h3>
20 SYNOPSIS
21 </h3>
22
23 <tt>lli [options] [filename] [args ...]</tt>
24 <h3>
25 DESCRIPTION
26 </h3>
27
28 The <tt>lli</tt> command is the LLVM interpreter.  It takes a program in LLVM
29 bytecode format and executes it using an interpreter or a Just In Time (JIT)
30 compiler.  <tt>lli</tt> takes all of the same code generator option as the
31 <tt><a href="llc.html">llc</a></tt> tool as well.
32 <p>
33
34 If filename is not specified, then lli reads its input from standard input.
35 <p>
36 The optional "args" specified on the command line are passed to the executed
37 program as arguments.
38 <p>
39
40
41 <h3>
42 OPTIONS
43 </h3>
44
45 <ul>
46         <li> -array-checks (interpreter specific)
47         <br>
48         Enable array bound checks.
49         <p>
50
51         <li> -help
52         <br>
53         Print a summary of command line options.
54         <p>
55
56         <li> -stats
57         <br>
58         Print statistics.
59         <p>
60
61         <li> -time-passes
62         <br>
63         Record the amount of time needed for each pass and print it to standard
64         error.
65         <p>
66 </ul>
67
68 <h3>
69 EXIT STATUS
70 </h3>
71
72 If lli succeeds, it will exit with 0.  Otherwise, if an error occurs, it
73 will exit with a non-zero value.
74
75 <h3>
76 SEE ALSO
77 </h3>
78 <a href="llc.html"><tt>llc</tt></a>
79
80 <HR>
81 Maintained by the <a href="http://llvm.cs.uiuc.edu">LLVM Team</a>.
82 </body>
83 </html>
84