summaryrefslogtreecommitdiff
path: root/docs/CommandGuide
diff options
context:
space:
mode:
authorJohn Criswell <criswell@uiuc.edu>2003-09-29 14:05:08 +0000
committerJohn Criswell <criswell@uiuc.edu>2003-09-29 14:05:08 +0000
commitfa4f181b6b08ae54ac4cb08256334cc3fe8fd696 (patch)
tree41ad0c59355f0b982a8b695e43bb30c65abc5f1c /docs/CommandGuide
parent00ce84066f82a75b18172f3cb1d2a1bb5c3d9ff4 (diff)
downloadllvm-fa4f181b6b08ae54ac4cb08256334cc3fe8fd696.tar.gz
llvm-fa4f181b6b08ae54ac4cb08256334cc3fe8fd696.tar.bz2
llvm-fa4f181b6b08ae54ac4cb08256334cc3fe8fd696.tar.xz
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
Diffstat (limited to 'docs/CommandGuide')
-rw-r--r--docs/CommandGuide/analyze.html15
1 files changed, 10 insertions, 5 deletions
diff --git a/docs/CommandGuide/analyze.html b/docs/CommandGuide/analyze.html
index f92cd55933..2f32036fa4 100644
--- a/docs/CommandGuide/analyze.html
+++ b/docs/CommandGuide/analyze.html
@@ -20,15 +20,20 @@ analyze
SYNOPSIS
</h3>
-analyze [options] &lt; filename&gt;
+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>