summaryrefslogtreecommitdiff
path: root/docs/CommandGuide/llvm-stress.rst
blob: 44aa32c7557f13320466dea5d2da29cb52842c5f (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
llvm-stress - generate random .ll files
=======================================


SYNOPSIS
--------


**llvm-stress** [-size=filesize] [-seed=initialseed] [-o=outfile]


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


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


OPTIONS
-------



**-o** *filename*

 Specify the output filename.



**-size** *size*

 Specify the size of the generated .ll file.



**-seed** *seed*

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




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


**llvm-stress** returns 0.