5 llvm-as - LLVM assembler
9 B<llvm-as> [I<options>] [I<filename>]
13 B<llvm-as> is the LLVM assembler. It reads a file containing human-readable
14 LLVM assembly language, translates it to LLVM bitcode, and writes the result
15 into a file or to standard output.
17 If F<filename> is omitted or is C<->, then B<llvm-as> reads its input from
20 If an output file is not specified with the B<-o> option, then
21 B<llvm-as> sends its output to a file or standard output by following
28 If the input is standard input, then the output is standard output.
32 If the input is a file that ends with C<.ll>, then the output file is of
33 the same name, except that the suffix is changed to C<.bc>.
37 If the input is a file that does not end with the C<.ll> suffix, then the
38 output file has the same name as the input file, except that the C<.bc>
49 Enable binary output on terminals. Normally, B<llvm-as> will refuse to
50 write raw bitcode output if the output stream is a terminal. With this option,
51 B<llvm-as> will write raw bitcode regardless of the output device.
55 Print a summary of command line options.
57 =item B<-o> F<filename>
59 Specify the output file name. If F<filename> is C<->, then B<llvm-as>
60 sends its output to standard output.
66 If B<llvm-as> succeeds, it will exit with 0. Otherwise, if an error
67 occurs, it will exit with a non-zero value.
71 L<llvm-dis|llvm-dis>, L<gccas|gccas>
75 Maintained by the LLVM Team (L<http://llvm.org/>).