2012-05-08 18:50:35 +02:00
|
|
|
llvm-stress - generate random .ll files
|
|
|
|
=======================================
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
|
|
|
|
2012-11-29 20:05:55 +01:00
|
|
|
:program:`llvm-stress` [-size=filesize] [-seed=initialseed] [-o=outfile]
|
2012-05-08 18:50:35 +02:00
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
|
|
|
|
2012-11-29 20:05:55 +01: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-08 18:50:35 +02:00
|
|
|
|
|
|
|
OPTIONS
|
|
|
|
-------
|
|
|
|
|
2012-11-29 20:05:55 +01:00
|
|
|
.. option:: -o filename
|
2012-05-08 18:50:35 +02:00
|
|
|
|
|
|
|
Specify the output filename.
|
|
|
|
|
2012-11-29 20:05:55 +01:00
|
|
|
.. option:: -size size
|
2012-05-08 18:50:35 +02:00
|
|
|
|
2012-11-29 20:05:55 +01:00
|
|
|
Specify the size of the generated ``.ll`` file.
|
2012-05-08 18:50:35 +02:00
|
|
|
|
2012-11-29 20:05:55 +01:00
|
|
|
.. option:: -seed seed
|
2012-05-08 18:50:35 +02:00
|
|
|
|
|
|
|
Specify the seed to be used for the randomly generated instructions.
|
|
|
|
|
|
|
|
EXIT STATUS
|
|
|
|
-----------
|
|
|
|
|
2012-11-29 20:05:55 +01:00
|
|
|
:program:`llvm-stress` returns 0.
|
2012-05-08 18:50:35 +02:00
|
|
|
|