From: John Criswell Date: Mon, 29 Sep 2003 14:05:08 +0000 (+0000) Subject: Added explanation of where analyze gets its input, where it sends its output, X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=fa4f181b6b08ae54ac4cb08256334cc3fe8fd696;p=oota-llvm.git Added explanation of where analyze gets its input, where it sends its output, and how it decides to interpret its input. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8730 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/CommandGuide/analyze.html b/docs/CommandGuide/analyze.html index f92cd559336..2f32036fa4c 100644 --- a/docs/CommandGuide/analyze.html +++ b/docs/CommandGuide/analyze.html @@ -20,15 +20,20 @@ analyze SYNOPSIS -analyze [options] < filename> +analyze [options] [filename]

DESCRIPTION

-The analyze command performs various analysis of LLVM bytecode. It will -usually print the results on standard output, but in a few cases it will print -output to standard error or generate a file with the analysis output (which is -usually done when generating output for another program). +The analyze command performs various analysis of LLVM assembly code or +bytecode. It will usually print the results on standard output, but in a few +cases, it will print output to standard error or generate a file with the +analysis output (which is usually done when the output is meant for another +program). +

+If filename is omitted or is -, analyze reads its input from standard input. +It first attempts to interpret its input as LLVM bytecode. If it encounters an +error, it then attempts to parse the input as LLVM assembly language.

OPTIONS