summaryrefslogtreecommitdiff
path: root/docs/CommandGuide/llvm-dis.pod
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2004-06-02 20:45:25 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2004-06-02 20:45:25 +0000
commit99e4306be1ad55c3c2a55b21c82b07fd577dffbd (patch)
treee886aacb56f9299aa8f6d644ff4b8655a87a60ac /docs/CommandGuide/llvm-dis.pod
parentb3bbcba45e12eb68a1040f47b2c281d8b87d78e9 (diff)
downloadllvm-99e4306be1ad55c3c2a55b21c82b07fd577dffbd.tar.gz
llvm-99e4306be1ad55c3c2a55b21c82b07fd577dffbd.tar.bz2
llvm-99e4306be1ad55c3c2a55b21c82b07fd577dffbd.tar.xz
The llvm-dis.html page was a little out of date, but this pod file can supersede it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13968 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/CommandGuide/llvm-dis.pod')
-rw-r--r--docs/CommandGuide/llvm-dis.pod66
1 files changed, 66 insertions, 0 deletions
diff --git a/docs/CommandGuide/llvm-dis.pod b/docs/CommandGuide/llvm-dis.pod
new file mode 100644
index 0000000000..1e03790e5e
--- /dev/null
+++ b/docs/CommandGuide/llvm-dis.pod
@@ -0,0 +1,66 @@
+=pod
+
+=head1 NAME
+
+llvm-dis - LLVM disassembler
+
+=head1 SYNOPSIS
+
+llvm-dis [options] [filename]
+
+=head1 DESCRIPTION
+
+The B<llvm-dis> command is the LLVM disassembler. It takes an LLVM
+bytecode file and converts it into human-readable LLVM assembly language.
+
+If filename is omitted or specified as C<->, B<llvm-dis> reads its
+input from standard input.
+
+If the input is being read from standard input, then B<llvm-dis>
+will send its output to standard output by default. Otherwise, the
+output will be written to a file named after the input file, with
+a C<.ll> suffix added (any existing C<.bc> suffix will first be
+removed). You can override the choice of output file using the
+B<-o> option.
+
+=head1 OPTIONS
+
+=over
+
+=item B<-f>
+
+Force overwrite. Normally, B<llvm-dis> will refuse to overwrite
+an output file that already exists. With this option, B<llvm-dis>
+will overwrite the output file.
+
+=item B<--help>
+
+Print a summary of command line options.
+
+=item B<-o> F<filename>
+
+Specify the output file name. If F<filename> is -, then the output is sent
+to standard output.
+
+=item B<-time-passes>
+
+Record the amount of time needed for each pass and print it to standard
+error.
+
+=back
+
+=head1 EXIT STATUS
+
+If B<llvm-dis> succeeds, it will exit with 0. Otherwise, if an error
+occurs, it will exit with a non-zero value.
+
+=head1 SEE ALSO
+
+L<llvm-as>
+
+=head1 AUTHORS
+
+Maintained by the LLVM Team (L<http://llvm.cs.uiuc.edu>).
+
+=cut
+