docs: Improve the docs about llvm-isel-fuzzer on OSS Fuzz

llvm-svn: 315651
This commit is contained in:
Justin Bogner 2017-10-13 00:27:35 +00:00
parent 6f7ef54a86
commit 386b2bd0e3

View File

@ -83,10 +83,15 @@ the following command would fuzz AArch64 with :doc:`GlobalISel`:
Some flags can also be specified in the binary name itself in order to support
OSS Fuzz, which has trouble with required arguments. To do this, you can copy
or move ``llvm-isel-fuzzer`` to ``llvm-isel-fuzzer--x-y-z``, where x, y, and z
are architecture names (``aarch64``, ``x86_64``), optimization levels (``O0``,
``O2``), or specific keywords like ``gisel`` for enabling global instruction
selection.
or move ``llvm-isel-fuzzer`` to ``llvm-isel-fuzzer--x-y-z``, separating options
from the binary name using "--". The valid options are architecture names
(``aarch64``, ``x86_64``), optimization levels (``O0``, ``O2``), or specific
keywords, like ``gisel`` for enabling global instruction selection. In this
mode, the same example could be run like so:
.. code-block:: shell
% bin/llvm-isel-fuzzer--aarch64-O0-gisel <corpus-dir>
llvm-mc-assemble-fuzzer
-----------------------