diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-06-20 11:25:11 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-06-20 11:25:11 +0000 |
commit | 4a8948d58376df6d1d4a482d70ca742f6f61356b (patch) | |
tree | 7a1c8a725eae29cb5e9d70cb690f2fb539302f2f /llvm/docs/CommandGuide | |
parent | f42595a75f780a42c5f495df40348999d0358125 (diff) | |
download | bcm5719-llvm-4a8948d58376df6d1d4a482d70ca742f6f61356b.tar.gz bcm5719-llvm-4a8948d58376df6d1d4a482d70ca742f6f61356b.zip |
Fix the formatting a bit.
llvm-svn: 158815
Diffstat (limited to 'llvm/docs/CommandGuide')
-rw-r--r-- | llvm/docs/CommandGuide/llvm-as.rst | 49 |
1 files changed, 8 insertions, 41 deletions
diff --git a/llvm/docs/CommandGuide/llvm-as.rst b/llvm/docs/CommandGuide/llvm-as.rst index 749bc7e8511..1b499bbe970 100644 --- a/llvm/docs/CommandGuide/llvm-as.rst +++ b/llvm/docs/CommandGuide/llvm-as.rst @@ -1,18 +1,14 @@ llvm-as - LLVM assembler ======================== - SYNOPSIS -------- - **llvm-as** [*options*] [*filename*] - DESCRIPTION ----------- - **llvm-as** is the LLVM assembler. It reads a file containing human-readable LLVM assembly language, translates it to LLVM bitcode, and writes the result into a file or to standard output. @@ -24,66 +20,37 @@ If an output file is not specified with the **-o** option, then **llvm-as** sends its output to a file or standard output by following these rules: +* If the input is standard input, then the output is standard output. -\* - - If the input is standard input, then the output is standard output. - - - -\* - - If the input is a file that ends with ``.ll``, then the output file is of - the same name, except that the suffix is changed to ``.bc``. - - - -\* - - If the input is a file that does not end with the ``.ll`` suffix, then the - output file has the same name as the input file, except that the ``.bc`` - suffix is appended. - - +* If the input is a file that ends with ``.ll``, then the output file is of the + same name, except that the suffix is changed to ``.bc``. +* If the input is a file that does not end with the ``.ll`` suffix, then the + output file has the same name as the input file, except that the ``.bc`` + suffix is appended. OPTIONS ------- - - **-f** - Enable binary output on terminals. Normally, **llvm-as** will refuse to write raw bitcode output if the output stream is a terminal. With this option, **llvm-as** will write raw bitcode regardless of the output device. - - **-help** - Print a summary of command line options. - - **-o** *filename* - Specify the output file name. If *filename* is ``-``, then **llvm-as** sends its output to standard output. - - - EXIT STATUS ----------- - -If **llvm-as** succeeds, it will exit with 0. Otherwise, if an error -occurs, it will exit with a non-zero value. - +If **llvm-as** succeeds, it will exit with 0. Otherwise, if an error occurs, it +will exit with a non-zero value. SEE ALSO -------- - llvm-dis|llvm-dis, gccas|gccas |