summaryrefslogtreecommitdiffstats
path: root/llvm/docs
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
commitee3632270e916f40a5fa55052b331d509762e9f8 (patch)
tree1b44209bcdd645d535f5fee80a2d0ec095e7a71f /llvm/docs
parent1440902484f6ebc4cfd4e93fbb1508347ac6e0af (diff)
downloadbcm5719-llvm-ee3632270e916f40a5fa55052b331d509762e9f8.tar.gz
bcm5719-llvm-ee3632270e916f40a5fa55052b331d509762e9f8.zip
Corrected usage synopsis.
Added information regarding additional LLVM passes used, input defaults, and output defaults. llvm-svn: 8802
Diffstat (limited to 'llvm/docs')
-rw-r--r--llvm/docs/CommandGuide/extract.html10
1 files changed, 9 insertions, 1 deletions
diff --git a/llvm/docs/CommandGuide/extract.html b/llvm/docs/CommandGuide/extract.html
index 36f01e42455..b42aec2a61c 100644
--- a/llvm/docs/CommandGuide/extract.html
+++ b/llvm/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
OpenPOWER on IntegriCloud