• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1llvm-dis - LLVM disassembler
2============================
3
4
5SYNOPSIS
6--------
7
8
9**llvm-dis** [*options*] [*filename*]
10
11
12DESCRIPTION
13-----------
14
15
16The **llvm-dis** command is the LLVM disassembler.  It takes an LLVM
17bitcode file and converts it into human-readable LLVM assembly language.
18
19If filename is omitted or specified as ``-``, **llvm-dis** reads its
20input from standard input.
21
22If the input is being read from standard input, then **llvm-dis**
23will send its output to standard output by default.  Otherwise, the
24output will be written to a file named after the input file, with
25a ``.ll`` suffix added (any existing ``.bc`` suffix will first be
26removed).  You can override the choice of output file using the
27**-o** option.
28
29
30OPTIONS
31-------
32
33
34
35**-f**
36
37 Enable binary output on terminals.  Normally, **llvm-dis** will refuse to
38 write raw bitcode output if the output stream is a terminal. With this option,
39 **llvm-dis** will write raw bitcode regardless of the output device.
40
41
42
43**-help**
44
45 Print a summary of command line options.
46
47
48
49**-o** *filename*
50
51 Specify the output file name.  If *filename* is -, then the output is sent
52 to standard output.
53
54
55
56
57EXIT STATUS
58-----------
59
60
61If **llvm-dis** succeeds, it will exit with 0.  Otherwise, if an error
62occurs, it will exit with a non-zero value.
63
64
65SEE ALSO
66--------
67
68
69llvm-as|llvm-as
70