llvm-dis.pod 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. =pod
  2. =head1 NAME
  3. llvm-dis - LLVM disassembler
  4. =head1 SYNOPSIS
  5. B<llvm-dis> [I<options>] [I<filename>]
  6. =head1 DESCRIPTION
  7. The B<llvm-dis> command is the LLVM disassembler. It takes an LLVM
  8. bitcode file and converts it into human-readable LLVM assembly language.
  9. If filename is omitted or specified as C<->, B<llvm-dis> reads its
  10. input from standard input.
  11. If the input is being read from standard input, then B<llvm-dis>
  12. will send its output to standard output by default. Otherwise, the
  13. output will be written to a file named after the input file, with
  14. a C<.ll> suffix added (any existing C<.bc> suffix will first be
  15. removed). You can override the choice of output file using the
  16. B<-o> option.
  17. =head1 OPTIONS
  18. =over
  19. =item B<-f>
  20. Enable binary output on terminals. Normally, B<llvm-dis> will refuse to
  21. write raw bitcode output if the output stream is a terminal. With this option,
  22. B<llvm-dis> will write raw bitcode regardless of the output device.
  23. =item B<-help>
  24. Print a summary of command line options.
  25. =item B<-o> F<filename>
  26. Specify the output file name. If F<filename> is -, then the output is sent
  27. to standard output.
  28. =back
  29. =head1 EXIT STATUS
  30. If B<llvm-dis> succeeds, it will exit with 0. Otherwise, if an error
  31. occurs, it will exit with a non-zero value.
  32. =head1 SEE ALSO
  33. L<llvm-as|llvm-as>
  34. =head1 AUTHORS
  35. Maintained by the LLVM Team (L<http://llvm.org>).
  36. =cut