1LLVM-DIS(1) LLVM LLVM-DIS(1)
2
3
4
6 llvm-dis - LLVM disassembler
7
9 llvm-dis [options] [filename]
10
12 The llvm-dis command is the LLVM disassembler. It takes an LLVM bit‐
13 code file and converts it into human-readable LLVM assembly language.
14
15 If filename is omitted or specified as -, llvm-dis reads its input from
16 standard input.
17
18 If the input is being read from standard input, then llvm-dis will send
19 its output to standard output by default. Otherwise, the output will
20 be written to a file named after the input file, with a .ll suffix
21 added (any existing .bc suffix will first be removed). You can over‐
22 ride the choice of output file using the -o option.
23
25 -f
26 Enable binary output on terminals. Normally, llvm-dis will refuse
27 to write raw bitcode output if the output stream is a terminal. With
28 this option, llvm-dis will write raw bitcode regardless of the out‐
29 put device.
30
31 -help
32 Print a summary of command line options.
33
34 -o filename
35 Specify the output file name. If filename is -, then the output is
36 sent to standard output.
37
39 If llvm-dis succeeds, it will exit with 0. Otherwise, if an error oc‐
40 curs, it will exit with a non-zero value.
41
43 llvm-as(1)
44
46 Maintained by the LLVM Team (https://llvm.org/).
47
49 2003-2023, LLVM Project
50
51
52
53
5417 2023-11-28 LLVM-DIS(1)