From c88052663b093c458a1645279983e0d50e3fdb0b Mon Sep 17 00:00:00 2001 From: Justin Bogner Date: Fri, 13 Oct 2017 00:27:35 +0000 Subject: [PATCH] docs: Improve the docs about llvm-isel-fuzzer on OSS Fuzz git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@315651 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/FuzzingLLVM.rst | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/docs/FuzzingLLVM.rst b/docs/FuzzingLLVM.rst index aa777cf7cd6..138c655a962 100644 --- a/docs/FuzzingLLVM.rst +++ b/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 llvm-mc-assemble-fuzzer ----------------------- -- 2.50.1