2 .\" Man page generated from reStructuredText.
4 .TH "LLVM-AS" "1" "2014-01-01" "3.4" "LLVM"
6 llvm-as \- LLVM assembler
8 .nr rst2man-indent-level 0
12 level \\n[rst2man-indent-level]
13 level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
20 .\" .rstReportMargin pre:
22 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
23 . nr rst2man-indent-level +1
24 .\" .rstReportMargin post:
28 .\" indent \\n[an-margin]
29 .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
30 .nr rst2man-indent-level -1
31 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
32 .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
36 \fBllvm\-as\fP [\fIoptions\fP] [\fIfilename\fP]
39 \fBllvm\-as\fP is the LLVM assembler. It reads a file containing human\-readable
40 LLVM assembly language, translates it to LLVM bitcode, and writes the result
41 into a file or to standard output.
43 If \fIfilename\fP is omitted or is \fB\-\fP, then \fBllvm\-as\fP reads its input from
46 If an output file is not specified with the \fB\-o\fP option, then
47 \fBllvm\-as\fP sends its output to a file or standard output by following
51 If the input is standard input, then the output is standard output.
53 If the input is a file that ends with \fB\&.ll\fP, then the output file is of the
54 same name, except that the suffix is changed to \fB\&.bc\fP\&.
56 If the input is a file that does not end with the \fB\&.ll\fP suffix, then the
57 output file has the same name as the input file, except that the \fB\&.bc\fP
64 Enable binary output on terminals. Normally, \fBllvm\-as\fP will refuse to
65 write raw bitcode output if the output stream is a terminal. With this option,
66 \fBllvm\-as\fP will write raw bitcode regardless of the output device.
69 Print a summary of command line options.
71 .B \fB\-o\fP \fIfilename\fP
72 Specify the output file name. If \fIfilename\fP is \fB\-\fP, then \fBllvm\-as\fP
73 sends its output to standard output.
77 If \fBllvm\-as\fP succeeds, it will exit with 0. Otherwise, if an error occurs, it
78 will exit with a non\-zero value.
81 llvm\-dis|llvm\-dis, gccas|gccas
83 Maintained by The LLVM Team (http://llvm.org/).
85 2003-2013, LLVM Project
86 .\" Generated by docutils manpage writer.