From 6775392c3df70496e88acea20a4493c9893232ec Mon Sep 17 00:00:00 2001 From: John Criswell Date: Fri, 26 Sep 2003 02:59:00 +0000 Subject: Added information about how llvm-as and llvm-dis select the input and output filenames. Corrected some typos in the llvm-dis documentation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8716 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/CommandGuide/llvm-dis.html | 40 ++++++++++++++++++++++++++++++++-------- 1 file changed, 32 insertions(+), 8 deletions(-) (limited to 'docs/CommandGuide/llvm-dis.html') diff --git a/docs/CommandGuide/llvm-dis.html b/docs/CommandGuide/llvm-dis.html index 9f7731ac43..c6288b0359 100644 --- a/docs/CommandGuide/llvm-dis.html +++ b/docs/CommandGuide/llvm-dis.html @@ -20,16 +20,39 @@ llvm-dis SYNOPSIS -llvm-dis [options] < filename> +llvm-dis [options] [filename]

DESCRIPTION

The llvm-dis command is the LLVM disassembler. It takes an LLVM bytecode file -and converts it into one of several human readable formats. +and converts it into LLVM assembly language or C source code with equivalent +functionality. +

+ +If filename is omitted, llvm-dis reads its input from standard input. +

+ +The default output file for llvm-dis is determined by the following logic: +

-By default, llvm-dis places its output in filename.ll, removing the .bc suffix -if it exists.

OPTIONS

@@ -60,12 +83,13 @@ OPTIONS
  • -o <filename>
    - Specify the output filename. + Specify the output filename. If filename is -, then the output is sent to + standard output.

    -

  • -time-pdisses +
  • -time-passes
    - Record the amount of time needed for each pdiss and print it to standard + Record the amount of time needed for each pass and print it to standard error.

    @@ -80,7 +104,7 @@ will exit with a non-zero value.

    SEE ALSO

    -llvm-dis +llvm-as
    LLVM Team -- cgit v1.2.3-70-g09d2