mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 02:33:06 +01:00
[docs] Try to clarify the FuzzingLLVM docs
Try to improve these docs based on some recent questions that were sent to llvm-dev: http://lists.llvm.org/pipermail/llvm-dev/2018-August/125329.html llvm-svn: 339949
This commit is contained in:
parent
8ccc77c647
commit
5605a0b70a
@ -10,7 +10,8 @@ Introduction
|
||||
============
|
||||
|
||||
The LLVM tree includes a number of fuzzers for various components. These are
|
||||
built on top of :doc:`LibFuzzer <LibFuzzer>`.
|
||||
built on top of :doc:`LibFuzzer <LibFuzzer>`. In order to build and run these
|
||||
fuzzers, see :ref:`building-fuzzers`.
|
||||
|
||||
|
||||
Available Fuzzers
|
||||
@ -109,7 +110,8 @@ It receives optimzation pipeline and runs it for each fuzzer input.
|
||||
|
||||
Interface of this fuzzer almost directly mirrors ``llvm-isel-fuzzer``. Both
|
||||
``mtriple`` and ``passes`` arguments are required. Passes are specified in a
|
||||
format suitable for the new pass manager.
|
||||
format suitable for the new pass manager. You can find some documentation about
|
||||
this format in the doxygen for ``PassBuilder::parsePassPipeline``.
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
@ -236,6 +238,10 @@ by adding the following two flags to your CMake invocation:
|
||||
with sanitizers, you'll want to specify ``-DLLVM_BUILD_RUNTIME=Off``
|
||||
to avoid building the sanitizers themselves with sanitizers enabled.
|
||||
|
||||
.. note:: You may run into issues if you build with BFD ld, which is the
|
||||
default linker on many unix systems. These issues are being tracked
|
||||
in https://llvm.org/PR34636.
|
||||
|
||||
Continuously Running and Finding Bugs
|
||||
-------------------------------------
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user