summaryrefslogtreecommitdiffstats
path: root/llvm/docs/CommandGuide
diff options
context:
space:
mode:
authorNadav Rotem <nadav.rotem@intel.com>2012-02-26 08:35:53 +0000
committerNadav Rotem <nadav.rotem@intel.com>2012-02-26 08:35:53 +0000
commit78bda8941295d6d357da53454ada1d9c02770b54 (patch)
treebf9cd3c05902be1914172a396927feb2f24c3ef1 /llvm/docs/CommandGuide
parent273c4e9d82fd849e646c64dce2807fd342b483e6 (diff)
downloadbcm5719-llvm-78bda8941295d6d357da53454ada1d9c02770b54.tar.gz
bcm5719-llvm-78bda8941295d6d357da53454ada1d9c02770b54.zip
Add a random .LL file generator to stress-test different llvm components.
llvm-svn: 151479
Diffstat (limited to 'llvm/docs/CommandGuide')
-rw-r--r--llvm/docs/CommandGuide/index.html3
-rw-r--r--llvm/docs/CommandGuide/llvm-stress.pod42
2 files changed, 45 insertions, 0 deletions
diff --git a/llvm/docs/CommandGuide/index.html b/llvm/docs/CommandGuide/index.html
index 145569c96c6..5db70200bca 100644
--- a/llvm/docs/CommandGuide/index.html
+++ b/llvm/docs/CommandGuide/index.html
@@ -75,6 +75,9 @@ options) arguments to the tool you are interested in.</p>
<li><a href="/cmds/llvm-cov.html"><b>llvm-cov</b></a> -
emit coverage information</li>
+<li><a href="/cmds/llvm-stress.html"><b>llvm-stress</b></a> -
+ generate random .ll files to fuzz different llvm components</li>
+
</ul>
</div>
diff --git a/llvm/docs/CommandGuide/llvm-stress.pod b/llvm/docs/CommandGuide/llvm-stress.pod
new file mode 100644
index 00000000000..92083d2d2bc
--- /dev/null
+++ b/llvm/docs/CommandGuide/llvm-stress.pod
@@ -0,0 +1,42 @@
+=pod
+
+=head1 NAME
+
+llvm-stress - generate random .ll files
+
+=head1 SYNOPSIS
+
+B<llvm-cov> [-gcno=filename] [-gcda=filename] [dump]
+
+=head1 DESCRIPTION
+
+The B<llvm-stress> tool is used to generate random .ll files that can be used to
+test different components of LLVM.
+
+=head1 OPTIONS
+
+=over
+
+=item B<-o> I<filename>
+
+Specify the output filename.
+
+=item B<-size> I<size>
+
+Specify the size of the generated .ll file.
+
+=item B<-seed> I<seed>
+
+Specify the seed to be used for the randomly generated instructions.
+
+=back
+
+=head1 EXIT STATUS
+
+B<llvm-stress> returns 0.
+
+=head1 AUTHOR
+
+B<llvm-stress> is maintained by the LLVM Team (L<http://llvm.org/>).
+
+=cut
OpenPOWER on IntegriCloud