summaryrefslogtreecommitdiff
path: root/docs/FuzzingLLVM.rst
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2017-10-12 03:32:09 +0000
committerHans Wennborg <hans@hanshq.net>2017-10-12 03:32:09 +0000
commitfba3ac1b763c7311fe7281ad6aa95c483179e938 (patch)
tree498b60cda8c2ab3e06bec87b421e89914c9c468f /docs/FuzzingLLVM.rst
parente1cafb1775db6eb49eaa4bdf60c94189e6de3db5 (diff)
Revert r315545 "llvm-isel-fuzzer: Handle a subset of backend flags in the executable name"
It broke some tests on Windows: Failing Tests (4): LLVM :: tools/llvm-isel-fuzzer/execname-options.ll LLVM :: tools/llvm-isel-fuzzer/missing-triple.ll LLVM :: tools/llvm-isel-fuzzer/x86-empty-bc.ll LLVM :: tools/llvm-isel-fuzzer/x86-empty.ll > llvm-isel-fuzzer: Handle a subset of backend flags in the executable name > > Here we add a secondary option parser to llvm-isel-fuzzer (and provide > it for use with other fuzzers). With this, you can copy the fuzzer to > a name like llvm-isel-fuzzer:aarch64-gisel for a fuzzer that fuzzer > AArch64 with GlobalISel enabled, or fuzzer:x86_64 to fuzz x86, with no > flags required. This should be useful for running these in OSS-Fuzz. > > Note that this handrolls a subset of cl::opts to recognize, rather > than embedding a complete command parser for argv[0]. If we find we > really need the flexibility of handling arbitrary options at some > point we can rethink this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@315554 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/FuzzingLLVM.rst')
-rw-r--r--docs/FuzzingLLVM.rst7
1 files changed, 0 insertions, 7 deletions
diff --git a/docs/FuzzingLLVM.rst b/docs/FuzzingLLVM.rst
index 5ba5fa10b67..ef7b2138326 100644
--- a/docs/FuzzingLLVM.rst
+++ b/docs/FuzzingLLVM.rst
@@ -81,13 +81,6 @@ the following command would fuzz AArch64 with :doc:`GlobalISel`:
% bin/llvm-isel-fuzzer <corpus-dir> -ignore_remaining_args=1 -mtriple aarch64 -global-isel -O0
-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.
-
llvm-mc-assemble-fuzzer
-----------------------