Corrected usage synopsis.
authorJohn Criswell <criswell@uiuc.edu>
Tue, 30 Sep 2003 22:55:44 +0000 (22:55 +0000)
committerJohn Criswell <criswell@uiuc.edu>
Tue, 30 Sep 2003 22:55:44 +0000 (22:55 +0000)
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

docs/CommandGuide/extract.html

index 36f01e4245552ffecdca40f7597535eef35d84ce..b42aec2a61c5c1ee007c3ec93e23de09ffefcdba 100644 (file)
@@ -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