blob: 1e03790e5ee2e86de3f987ff7741787d5ca3aa1c [file] [log] [blame]
Brian Gaeke99e43062004-06-02 20:45:25 +00001=pod
2
3=head1 NAME
4
5llvm-dis - LLVM disassembler
6
7=head1 SYNOPSIS
8
9llvm-dis [options] [filename]
10
11=head1 DESCRIPTION
12
13The B<llvm-dis> command is the LLVM disassembler. It takes an LLVM
14bytecode file and converts it into human-readable LLVM assembly language.
15
16If filename is omitted or specified as C<->, B<llvm-dis> reads its
17input from standard input.
18
19If the input is being read from standard input, then B<llvm-dis>
20will send its output to standard output by default. Otherwise, the
21output will be written to a file named after the input file, with
22a C<.ll> suffix added (any existing C<.bc> suffix will first be
23removed). You can override the choice of output file using the
24B<-o> option.
25
26=head1 OPTIONS
27
28=over
29
30=item B<-f>
31
32Force overwrite. Normally, B<llvm-dis> will refuse to overwrite
33an output file that already exists. With this option, B<llvm-dis>
34will overwrite the output file.
35
36=item B<--help>
37
38Print a summary of command line options.
39
40=item B<-o> F<filename>
41
42Specify the output file name. If F<filename> is -, then the output is sent
43to standard output.
44
45=item B<-time-passes>
46
47Record the amount of time needed for each pass and print it to standard
48error.
49
50=back
51
52=head1 EXIT STATUS
53
54If B<llvm-dis> succeeds, it will exit with 0. Otherwise, if an error
55occurs, it will exit with a non-zero value.
56
57=head1 SEE ALSO
58
59L<llvm-as>
60
61=head1 AUTHORS
62
63Maintained by the LLVM Team (L<http://llvm.cs.uiuc.edu>).
64
65=cut
66