]> git.proxmox.com Git - rustc.git/blame - src/llvm/docs/CommandGuide/llvm-stress.rst
Imported Upstream version 1.0.0+dfsg1
[rustc.git] / src / llvm / docs / CommandGuide / llvm-stress.rst
CommitLineData
223e47cc
LB
1llvm-stress - generate random .ll files
2=======================================
3
223e47cc
LB
4SYNOPSIS
5--------
6
970d7e83 7:program:`llvm-stress` [-size=filesize] [-seed=initialseed] [-o=outfile]
223e47cc
LB
8
9DESCRIPTION
10-----------
11
970d7e83
LB
12The :program:`llvm-stress` tool is used to generate random ``.ll`` files that
13can be used to test different components of LLVM.
223e47cc
LB
14
15OPTIONS
16-------
17
970d7e83 18.. option:: -o filename
223e47cc
LB
19
20 Specify the output filename.
21
970d7e83 22.. option:: -size size
223e47cc 23
970d7e83 24 Specify the size of the generated ``.ll`` file.
223e47cc 25
970d7e83 26.. option:: -seed seed
223e47cc
LB
27
28 Specify the seed to be used for the randomly generated instructions.
29
223e47cc
LB
30EXIT STATUS
31-----------
32
970d7e83 33:program:`llvm-stress` returns 0.
223e47cc 34