From 1cab4fbd418fbbdbc7ac035ef885ca71fbf03147 Mon Sep 17 00:00:00 2001 From: John Criswell Date: Mon, 29 Sep 2003 14:05:08 +0000 Subject: [PATCH] Added explanation of where analyze gets its input, where it sends its output, and how it decides to interpret its input. llvm-svn: 8730 --- llvm/docs/CommandGuide/analyze.html | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/llvm/docs/CommandGuide/analyze.html b/llvm/docs/CommandGuide/analyze.html index f92cd559336f..2f32036fa4c2 100644 --- a/llvm/docs/CommandGuide/analyze.html +++ b/llvm/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