blob: e92d3b78a275a24c7b0fa0631127beaffb3dae00 [file] [log] [blame]
John Criswellecf32e52003-09-11 19:58:03 +00001<html>
2<title>
3llvm-as
4</title>
5
6<body>
7
8<center>
9<h1>Low Level Virtual Machine</h1>
10</center>
11<HR>
12
13<h3>
14NAME
15</h3>
16
17llvm-as
18
19<h3>
20SYNOPSIS
21</h3>
22
23llvm-as [options] &lt; filename&gt;
24<h3>
25DESCRIPTION
26</h3>
27
28The llvm-as command is the LLVM assembler. It takes a human readable LLVM
29assembly language file and translates it into LLVM bytecode.
30
31By default, llvm-as places its output into filename.bc.
32
33<h3>
34OPTIONS
35</h3>
36
37<ul>
38 <li> -f
39 <br>
40 Force overwrite. Normally, llvm-as will refuse to overwrite an output
41 file that already exists. With this option, llvm-as will overwrite the
42 output file and replace it with new bytecode.
43 <p>
44
45 <li> -help
46 <br>
47 Print a summary of command line options.
48 <p>
49
50 <li> -o &lt;filename&gt;
51 <br>
52 Specify the output filename.
53 <p>
54
55 <li> -stats
56 <br>
57 Print statistics.
58 <p>
59
60 <li> -time-passes
61 <br>
62 Record the amount of time needed for each pass and print it to standard
63 error.
64 <p>
65</ul>
66
67<h3>
68EXIT STATUS
69</h3>
70
71If llvm-as succeeds, it will exit with 0. Otherwise, if an error occurs, it
72will exit with a non-zero value.
73
74<h3>
75SEE ALSO
76</h3>
77llvm-dis
78
79<HR>
John Criswell32003302003-09-11 20:23:52 +000080<a href="http://llvm.cs.uiuc.edu">LLVM Team</a>
John Criswellecf32e52003-09-11 19:58:03 +000081</body>
82</html>
83