blob: 9f7731ac435a442f2ea592db234a996698f4a8ef [file] [log] [blame]
John Criswellecf32e52003-09-11 19:58:03 +00001<html>
2<title>
Chris Lattneree43b692003-09-25 19:50:05 +00003LLVM: llvm-dis tool
John Criswellecf32e52003-09-11 19:58:03 +00004</title>
5
6<body>
7
8<center>
Chris Lattneree43b692003-09-25 19:50:05 +00009<h1>LLVM: llvm-dis tool</h1>
John Criswellecf32e52003-09-11 19:58:03 +000010</center>
11<HR>
12
13<h3>
14NAME
15</h3>
16
17llvm-dis
18
19<h3>
20SYNOPSIS
21</h3>
22
23llvm-dis [options] &lt; filename&gt;
24<h3>
25DESCRIPTION
26</h3>
27
28The llvm-dis command is the LLVM disassembler. It takes an LLVM bytecode file
29and converts it into one of several human readable formats.
30
31By default, llvm-dis places its output in filename.ll, removing the .bc suffix
32if it exists.
33<h3>
34OPTIONS
35</h3>
36
37<ul>
38 <li> -llvm
39 <br>
40 Instruct llvm-dis to generate LLVM assembly code in human readable
41 format. This is the default behavior.
42 <p>
43
44 <li> -c
45 <br>
46 Instruct llvm-dis to generate C source code.
47 <p>
48
49 <li> -f
50 <br>
51 Force overwrite. Normally, llvm-dis will refuse to overwrite an output
52 file that already exists. With this option, llvm-dis will overwrite the
53 output file.
54 <p>
55
56 <li> -help
57 <br>
58 Print a summary of command line options.
59 <p>
60
61 <li> -o &lt;filename&gt;
62 <br>
63 Specify the output filename.
64 <p>
65
66 <li> -time-pdisses
67 <br>
68 Record the amount of time needed for each pdiss and print it to standard
69 error.
70 <p>
71</ul>
72
73<h3>
74EXIT STATUS
75</h3>
76
77If llvm-dis succeeds, it will exit with 0. Otherwise, if an error occurs, it
78will exit with a non-zero value.
79
80<h3>
81SEE ALSO
82</h3>
83llvm-dis
84
85<HR>
John Criswell32003302003-09-11 20:23:52 +000086<a href="http://llvm.cs.uiuc.edu">LLVM Team</a>
John Criswellecf32e52003-09-11 19:58:03 +000087</body>
88</html>
89