John Criswell | ecf32e5 | 2003-09-11 19:58:03 +0000 | [diff] [blame^] | 1 | <html> |
| 2 | <title> |
| 3 | llvm-as |
| 4 | </title> |
| 5 | |
| 6 | <body> |
| 7 | |
| 8 | <center> |
| 9 | <h1>Low Level Virtual Machine</h1> |
| 10 | </center> |
| 11 | <HR> |
| 12 | |
| 13 | <h3> |
| 14 | NAME |
| 15 | </h3> |
| 16 | |
| 17 | llvm-as |
| 18 | |
| 19 | <h3> |
| 20 | SYNOPSIS |
| 21 | </h3> |
| 22 | |
| 23 | llvm-as [options] < filename> |
| 24 | <h3> |
| 25 | DESCRIPTION |
| 26 | </h3> |
| 27 | |
| 28 | The llvm-as command is the LLVM assembler. It takes a human readable LLVM |
| 29 | assembly language file and translates it into LLVM bytecode. |
| 30 | |
| 31 | By default, llvm-as places its output into filename.bc. |
| 32 | |
| 33 | <h3> |
| 34 | OPTIONS |
| 35 | </h3> |
| 36 | |
| 37 | <ul> |
| 38 | <li> -f |
| 39 | <br> |
| 40 | Force overwrite. Normally, llvm-as will refuse to overwrite an output |
| 41 | file that already exists. With this option, llvm-as will overwrite the |
| 42 | output file and replace it with new bytecode. |
| 43 | <p> |
| 44 | |
| 45 | <li> -help |
| 46 | <br> |
| 47 | Print a summary of command line options. |
| 48 | <p> |
| 49 | |
| 50 | <li> -o <filename> |
| 51 | <br> |
| 52 | Specify the output filename. |
| 53 | <p> |
| 54 | |
| 55 | <li> -stats |
| 56 | <br> |
| 57 | Print statistics. |
| 58 | <p> |
| 59 | |
| 60 | <li> -time-passes |
| 61 | <br> |
| 62 | Record the amount of time needed for each pass and print it to standard |
| 63 | error. |
| 64 | <p> |
| 65 | </ul> |
| 66 | |
| 67 | <h3> |
| 68 | EXIT STATUS |
| 69 | </h3> |
| 70 | |
| 71 | If llvm-as succeeds, it will exit with 0. Otherwise, if an error occurs, it |
| 72 | will exit with a non-zero value. |
| 73 | |
| 74 | <h3> |
| 75 | SEE ALSO |
| 76 | </h3> |
| 77 | llvm-dis |
| 78 | |
| 79 | <HR> |
| 80 | University of Illinois at Urbana-Champaign |
| 81 | </body> |
| 82 | </html> |
| 83 | |