diff options
author | Nadav Rotem <nadav.rotem@intel.com> | 2012-02-26 08:35:53 +0000 |
---|---|---|
committer | Nadav Rotem <nadav.rotem@intel.com> | 2012-02-26 08:35:53 +0000 |
commit | fdc309cc4e95778d7615f3829917c4fe42086e1e (patch) | |
tree | 9f6622c4fef2c99c6e56fc51139e5b43e386af03 /docs/CommandGuide | |
parent | a515b4e014cfcdad8982d36cfa80b7edeca69499 (diff) |
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
Diffstat (limited to 'docs/CommandGuide')
-rw-r--r-- | docs/CommandGuide/index.html | 3 | ||||
-rw-r--r-- | docs/CommandGuide/llvm-stress.pod | 42 |
2 files changed, 45 insertions, 0 deletions
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.</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/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<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 |