diff options
author | Justin Bogner <mail@justinbogner.com> | 2017-10-13 00:27:35 +0000 |
---|---|---|
committer | Justin Bogner <mail@justinbogner.com> | 2017-10-13 00:27:35 +0000 |
commit | 386b2bd0e351093d0971c8a652b21ea7ebd65d7c (patch) | |
tree | 58db49f6143786fa82046d35a0ccf4e240dc8a10 /llvm | |
parent | 6f7ef54a86f8ef0454a0ef1eb1efa8ce69a718c4 (diff) | |
download | bcm5719-llvm-386b2bd0e351093d0971c8a652b21ea7ebd65d7c.tar.gz bcm5719-llvm-386b2bd0e351093d0971c8a652b21ea7ebd65d7c.zip |
docs: Improve the docs about llvm-isel-fuzzer on OSS Fuzz
llvm-svn: 315651
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/docs/FuzzingLLVM.rst | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/llvm/docs/FuzzingLLVM.rst b/llvm/docs/FuzzingLLVM.rst index aa777cf7cd6..138c655a962 100644 --- a/llvm/docs/FuzzingLLVM.rst +++ b/llvm/docs/FuzzingLLVM.rst @@ -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 ----------------------- |