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

Justin Bogner via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 12 17:27:35 PDT 2017


Author: bogner
Date: Thu Oct 12 17:27:35 2017
New Revision: 315651

URL: http://llvm.org/viewvc/llvm-project?rev=315651&view=rev
Log:
docs: Improve the docs about llvm-isel-fuzzer on OSS Fuzz

Modified:
    llvm/trunk/docs/FuzzingLLVM.rst

Modified: llvm/trunk/docs/FuzzingLLVM.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/FuzzingLLVM.rst?rev=315651&r1=315650&r2=315651&view=diff
==============================================================================
--- llvm/trunk/docs/FuzzingLLVM.rst (original)
+++ llvm/trunk/docs/FuzzingLLVM.rst Thu Oct 12 17:27:35 2017
@@ -83,10 +83,15 @@ the following command would fuzz AArch64
 
 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
 -----------------------




More information about the llvm-commits mailing list