blob: 8df382d2e9c0089270af23912054a63db55ae1ab [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
Misha Brukmanc08937a2004-07-02 16:06:19 +00009B<llvm-dis> [I<options>] [I<filename>]
Brian Gaeke99e43062004-06-02 20:45:25 +000010
11=head1 DESCRIPTION
12
13The B<llvm-dis> command is the LLVM disassembler. It takes an LLVM
Gabor Greif3bd6e0d2007-07-09 11:24:05 +000014bitcode file and converts it into human-readable LLVM assembly language.
Brian Gaeke99e43062004-06-02 20:45:25 +000015
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
Brian Gaeke99e43062004-06-02 20:45:25 +000045=back
46
47=head1 EXIT STATUS
48
49If B<llvm-dis> succeeds, it will exit with 0. Otherwise, if an error
50occurs, it will exit with a non-zero value.
51
52=head1 SEE ALSO
53
Misha Brukmanc08937a2004-07-02 16:06:19 +000054L<llvm-as|llvm-as>
Brian Gaeke99e43062004-06-02 20:45:25 +000055
56=head1 AUTHORS
57
Reid Spencercd143fc2006-03-14 05:42:07 +000058Maintained by the LLVM Team (L<http://llvm.org>).
Brian Gaeke99e43062004-06-02 20:45:25 +000059
60=cut