aboutsummaryrefslogtreecommitdiffstats
path: root/docs/CommandGuide/llvm-stress.rst
blob: fb006f562b1264aa816d9ee03a3f1aedce4165c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
llvm-stress - generate random .ll files
=======================================

SYNOPSIS
--------

:program:`llvm-stress` [-size=filesize] [-seed=initialseed] [-o=outfile]

DESCRIPTION
-----------

The :program:`llvm-stress` tool is used to generate random ``.ll`` files that
can be used to test different components of LLVM.

OPTIONS
-------

.. option:: -o filename

 Specify the output filename.

.. option:: -size size

 Specify the size of the generated ``.ll`` file.

.. option:: -seed seed

 Specify the seed to be used for the randomly generated instructions.

EXIT STATUS
-----------

:program:`llvm-stress` returns 0.