blob: 36f01e4245552ffecdca40f7597535eef35d84ce [file] [log] [blame]
John Criswell58ebcd02003-09-17 14:11:24 +00001<html>
2<title>
Chris Lattneree43b692003-09-25 19:50:05 +00003LLVM: extract tool
John Criswell58ebcd02003-09-17 14:11:24 +00004</title>
5
6<body>
7
8<center>
Chris Lattneree43b692003-09-25 19:50:05 +00009<h1>LLVM: extract tool</h1>
John Criswell58ebcd02003-09-17 14:11:24 +000010</center>
11<HR>
12
13<h3>
14NAME
15</h3>
16
17extract
18
19<h3>
20SYNOPSIS
21</h3>
22
23extract [options] &lt;filename&gt; [filename ...]
24<h3>
25DESCRIPTION
26</h3>
27
28The extract command takes the name of a function and extracts it from the
29specified LLVM bytecode file. It is primarily used as a debugging tool to
30reduce test cases from larger programs that are triggering a bug.
31
32<h3>
33OPTIONS
34</h3>
35
36<ul>
37 <li>-func &lt;function&gt;
38 <br>
39 Extract function from the LLVM bytecode.
40 <p>
41
42 <li> -help
43 <br>
44 Print a summary of command line options.
45 <p>
46
47 <li> -stats
48 <br>
49 Print statistics.
50 <p>
51
52 <li> -time-passes
53 <br>
54 Record the amount of time needed for each pass and print it to standard
55 error.
56</ul>
57
58<h3>
59EXIT STATUS
60</h3>
61
62If extract succeeds, it will exit with 0. Otherwise, if an error occurs, it
63will exit with a non-zero value.
64
65<h3>
66SEE ALSO
67</h3>
68bugpoint
69
70<HR>
71<a href="http://llvm.cs.uiuc.edu">LLVM Team</a>
72</body>
73</html>
74