diff options
author | John Criswell <criswell@uiuc.edu> | 2003-09-29 14:05:08 +0000 |
---|---|---|
committer | John Criswell <criswell@uiuc.edu> | 2003-09-29 14:05:08 +0000 |
commit | 1cab4fbd418fbbdbc7ac035ef885ca71fbf03147 (patch) | |
tree | 0f3e4a225a78b607d5e1da7537b6b26ee123e377 /llvm/docs/CommandGuide | |
parent | f75d52eceb273e276287c4d632a524d527a61d15 (diff) | |
download | bcm5719-llvm-1cab4fbd418fbbdbc7ac035ef885ca71fbf03147.tar.gz bcm5719-llvm-1cab4fbd418fbbdbc7ac035ef885ca71fbf03147.zip |
Added explanation of where analyze gets its input, where it sends its output,
and how it decides to interpret its input.
llvm-svn: 8730
Diffstat (limited to 'llvm/docs/CommandGuide')
-rw-r--r-- | llvm/docs/CommandGuide/analyze.html | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/llvm/docs/CommandGuide/analyze.html b/llvm/docs/CommandGuide/analyze.html index f92cd559336..2f32036fa4c 100644 --- a/llvm/docs/CommandGuide/analyze.html +++ b/llvm/docs/CommandGuide/analyze.html @@ -20,15 +20,20 @@ analyze SYNOPSIS </h3> -analyze [options] < filename> +analyze [options] [filename] <h3> DESCRIPTION </h3> -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). +<p> +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. <h3> OPTIONS </h3> |