From fdc309cc4e95778d7615f3829917c4fe42086e1e Mon Sep 17 00:00:00 2001
From: Nadav Rotem
Date: Sun, 26 Feb 2012 08:35:53 +0000
Subject: Add a random .LL file generator to stress-test different llvm
components.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151479 91177308-0d34-0410-b5e6-96231b3b80d8
---
docs/CommandGuide/index.html | 3 +++
docs/CommandGuide/llvm-stress.pod | 42 +++++++++++++++++++++++++++++++++++++++
2 files changed, 45 insertions(+)
create mode 100644 docs/CommandGuide/llvm-stress.pod
(limited to 'docs/CommandGuide')
diff --git a/docs/CommandGuide/index.html b/docs/CommandGuide/index.html
index 145569c96c..5db70200bc 100644
--- a/docs/CommandGuide/index.html
+++ b/docs/CommandGuide/index.html
@@ -75,6 +75,9 @@ options) arguments to the tool you are interested in.
llvm-cov -
emit coverage information
+llvm-stress -
+ generate random .ll files to fuzz different llvm components
+
diff --git a/docs/CommandGuide/llvm-stress.pod b/docs/CommandGuide/llvm-stress.pod
new file mode 100644
index 0000000000..92083d2d2b
--- /dev/null
+++ b/docs/CommandGuide/llvm-stress.pod
@@ -0,0 +1,42 @@
+=pod
+
+=head1 NAME
+
+llvm-stress - generate random .ll files
+
+=head1 SYNOPSIS
+
+B [-gcno=filename] [-gcda=filename] [dump]
+
+=head1 DESCRIPTION
+
+The B 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
+
+Specify the output filename.
+
+=item B<-size> I
+
+Specify the size of the generated .ll file.
+
+=item B<-seed> I
+
+Specify the seed to be used for the randomly generated instructions.
+
+=back
+
+=head1 EXIT STATUS
+
+B returns 0.
+
+=head1 AUTHOR
+
+B is maintained by the LLVM Team (L).
+
+=cut
--
cgit v1.2.3-70-g09d2