8 <center><h1>LLVM: <tt>llvm-as</tt> tool</h1></center>
15 <tt>llvm-as [options] [filename]</tt>
19 The <tt>llvm-as</tt> command is the LLVM assembler. It reads a file containing
20 human readable LLVM assembly language, translates it to LLVM bytecode, and
21 writes the result into a file or to standard output.
24 If filename is omitted or is -, then <tt>llvm-as</tt> reads its input from
28 If an output file is not specified with the <tt>-o</tt> option, then
29 <tt>llvm-as</tt> sends its output to a file or standard output by the following
34 If the input is standard input, then the output is standard output.
38 If the input is a file that ends with .ll, then the output file is of
39 the same name, except that the suffix is changed to .bc.
43 If the input is a file that does not end with the .ll suffix, then the
44 output file has the same name as the input file, except that the .bc
54 Force overwrite. Normally, <tt>llvm-as</tt> will refuse to overwrite an
55 output file that already exists. With this option, <tt>llvm-as</tt>
56 will overwrite the output file and replace it with new bytecode.
61 Print a summary of command line options.
64 <li> -o <filename>
66 Specify the output filename. If filename is -, then <tt>llvm-as</tt>
67 sends its output to standard output.
77 Record the amount of time needed for each pass and print it to standard
84 If <tt>llvm-as</tt> succeeds, it will exit with 0. Otherwise, if an error
85 occurs, it will exit with a non-zero value.
89 <a href="llvm-dis.html"><tt>llvm-dis</tt></a>
90 <a href="gccas.html"><tt>gccas</tt></a>
94 Maintained by the <a href="http://llvm.cs.uiuc.edu">LLVM Team</a>.