aboutsummaryrefslogtreecommitdiff
path: root/docs/CommandGuide
diff options
context:
space:
mode:
authorJohn Criswell <criswell@uiuc.edu>2003-09-30 22:55:44 +0000
committerJohn Criswell <criswell@uiuc.edu>2003-09-30 22:55:44 +0000
commitac41ea22773cbd8ef38e04a53a23da98898acdc7 (patch)
tree1d915e1d354323d3a2db57e58bea46841769dc0f /docs/CommandGuide
parent56d225116fb6cd5c955b3763b7b0a1865b5e448e (diff)
Corrected usage synopsis.
Added information regarding additional LLVM passes used, input defaults, and output defaults. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8802 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/CommandGuide')
-rw-r--r--docs/CommandGuide/extract.html10
1 files changed, 9 insertions, 1 deletions
diff --git a/docs/CommandGuide/extract.html b/docs/CommandGuide/extract.html
index 36f01e4245..b42aec2a61 100644
--- a/docs/CommandGuide/extract.html
+++ b/docs/CommandGuide/extract.html
@@ -20,7 +20,7 @@ extract
SYNOPSIS
</h3>
-extract [options] &lt;filename&gt; [filename ...]
+extract [options] [filename]
<h3>
DESCRIPTION
</h3>
@@ -28,6 +28,14 @@ DESCRIPTION
The extract command takes the name of a function and extracts it from the
specified LLVM bytecode file. It is primarily used as a debugging tool to
reduce test cases from larger programs that are triggering a bug.
+<p>
+
+In addition to extracting the bytecode of the specified function, extract will
+also remove unreachable global variables, prototypes, and unused types.
+<p>
+
+The extract command will read its input from standard input if filename is
+omitted or if filename is -. The output is always written to standard output.
<h3>
OPTIONS