llvm.org GIT mirror llvm / 20cc0fb
Fix the formatting a bit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158815 91177308-0d34-0410-b5e6-96231b3b80d8 Bill Wendling 7 years ago
1 changed file(s) with 8 addition(s) and 41 deletion(s). Raw diff Collapse all Expand all
0 llvm-as - LLVM assembler
11 ========================
2
32
43 SYNOPSIS
54 --------
65
7
86 **llvm-as** [*options*] [*filename*]
9
107
118 DESCRIPTION
129 -----------
13
1410
1511 **llvm-as** is the LLVM assembler. It reads a file containing human-readable
1612 LLVM assembly language, translates it to LLVM bitcode, and writes the result
2319 **llvm-as** sends its output to a file or standard output by following
2420 these rules:
2521
22 * If the input is standard input, then the output is standard output.
2623
27 \*
24 * If the input is a file that ends with ``.ll``, then the output file is of the
25 same name, except that the suffix is changed to ``.bc``.
2826
29 If the input is standard input, then the output is standard output.
30
31
32
33 \*
34
35 If the input is a file that ends with ``.ll``, then the output file is of
36 the same name, except that the suffix is changed to ``.bc``.
37
38
39
40 \*
41
42 If the input is a file that does not end with the ``.ll`` suffix, then the
43 output file has the same name as the input file, except that the ``.bc``
44 suffix is appended.
45
46
47
27 * If the input is a file that does not end with the ``.ll`` suffix, then the
28 output file has the same name as the input file, except that the ``.bc``
29 suffix is appended.
4830
4931 OPTIONS
5032 -------
5133
52
53
5434 **-f**
55
5635 Enable binary output on terminals. Normally, **llvm-as** will refuse to
5736 write raw bitcode output if the output stream is a terminal. With this option,
5837 **llvm-as** will write raw bitcode regardless of the output device.
5938
60
61
6239 **-help**
63
6440 Print a summary of command line options.
6541
66
67
6842 **-o** *filename*
69
7043 Specify the output file name. If *filename* is ``-``, then **llvm-as**
7144 sends its output to standard output.
72
73
74
7545
7646 EXIT STATUS
7747 -----------
7848
79
80 If **llvm-as** succeeds, it will exit with 0. Otherwise, if an error
81 occurs, it will exit with a non-zero value.
82
49 If **llvm-as** succeeds, it will exit with 0. Otherwise, if an error occurs, it
50 will exit with a non-zero value.
8351
8452 SEE ALSO
8553 --------
8654
87
8855 llvm-dis|llvm-dis, gccas|gccas