John Criswell | ecf32e5 | 2003-09-11 19:58:03 +0000 | [diff] [blame] | 1 | <html> |
| 2 | <title> |
Chris Lattner | ee43b69 | 2003-09-25 19:50:05 +0000 | [diff] [blame^] | 3 | LLVM: llvm-dis tool |
John Criswell | ecf32e5 | 2003-09-11 19:58:03 +0000 | [diff] [blame] | 4 | </title> |
| 5 | |
| 6 | <body> |
| 7 | |
| 8 | <center> |
Chris Lattner | ee43b69 | 2003-09-25 19:50:05 +0000 | [diff] [blame^] | 9 | <h1>LLVM: llvm-dis tool</h1> |
John Criswell | ecf32e5 | 2003-09-11 19:58:03 +0000 | [diff] [blame] | 10 | </center> |
| 11 | <HR> |
| 12 | |
| 13 | <h3> |
| 14 | NAME |
| 15 | </h3> |
| 16 | |
| 17 | llvm-dis |
| 18 | |
| 19 | <h3> |
| 20 | SYNOPSIS |
| 21 | </h3> |
| 22 | |
| 23 | llvm-dis [options] < filename> |
| 24 | <h3> |
| 25 | DESCRIPTION |
| 26 | </h3> |
| 27 | |
| 28 | The llvm-dis command is the LLVM disassembler. It takes an LLVM bytecode file |
| 29 | and converts it into one of several human readable formats. |
| 30 | |
| 31 | By default, llvm-dis places its output in filename.ll, removing the .bc suffix |
| 32 | if it exists. |
| 33 | <h3> |
| 34 | OPTIONS |
| 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 <filename> |
| 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> |
| 74 | EXIT STATUS |
| 75 | </h3> |
| 76 | |
| 77 | If llvm-dis succeeds, it will exit with 0. Otherwise, if an error occurs, it |
| 78 | will exit with a non-zero value. |
| 79 | |
| 80 | <h3> |
| 81 | SEE ALSO |
| 82 | </h3> |
| 83 | llvm-dis |
| 84 | |
| 85 | <HR> |
John Criswell | 3200330 | 2003-09-11 20:23:52 +0000 | [diff] [blame] | 86 | <a href="http://llvm.cs.uiuc.edu">LLVM Team</a> |
John Criswell | ecf32e5 | 2003-09-11 19:58:03 +0000 | [diff] [blame] | 87 | </body> |
| 88 | </html> |
| 89 | |