view docs/CommandGuide/llvm-stress.rst @ 147:c2174574ed3a

LLVM 10
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Wed, 14 Aug 2019 16:55:33 +0900
parents 95c75e76d11b
children
line wrap: on
line source

llvm-stress - generate random .ll files
=======================================

.. program:: llvm-stress

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.