2012-05-09 00:50:35 +08:00
|
|
|
llvm-stress - generate random .ll files
|
|
|
|
=======================================
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
|
|
|
|
2012-11-30 03:05:55 +08:00
|
|
|
:program:`llvm-stress` [-size=filesize] [-seed=initialseed] [-o=outfile]
|
2012-05-09 00:50:35 +08:00
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
|
|
|
|
2012-11-30 03:05:55 +08:00
|
|
|
The :program:`llvm-stress` tool is used to generate random ``.ll`` files that
|
|
|
|
can be used to test different components of LLVM.
|
2012-05-09 00:50:35 +08:00
|
|
|
|
|
|
|
OPTIONS
|
|
|
|
-------
|
|
|
|
|
2012-11-30 03:05:55 +08:00
|
|
|
.. option:: -o filename
|
2012-05-09 00:50:35 +08:00
|
|
|
|
|
|
|
Specify the output filename.
|
|
|
|
|
2012-11-30 03:05:55 +08:00
|
|
|
.. option:: -size size
|
2012-05-09 00:50:35 +08:00
|
|
|
|
2012-11-30 03:05:55 +08:00
|
|
|
Specify the size of the generated ``.ll`` file.
|
2012-05-09 00:50:35 +08:00
|
|
|
|
2012-11-30 03:05:55 +08:00
|
|
|
.. option:: -seed seed
|
2012-05-09 00:50:35 +08:00
|
|
|
|
|
|
|
Specify the seed to be used for the randomly generated instructions.
|
|
|
|
|
|
|
|
EXIT STATUS
|
|
|
|
-----------
|
|
|
|
|
2012-11-30 03:05:55 +08:00
|
|
|
:program:`llvm-stress` returns 0.
|
2012-05-09 00:50:35 +08:00
|
|
|
|