summaryrefslogtreecommitdiffstats
path: root/llvm/docs
diff options
context:
space:
mode:
authorMike Aizatsky <aizatsky@chromium.org>2016-05-24 22:25:46 +0000
committerMike Aizatsky <aizatsky@chromium.org>2016-05-24 22:25:46 +0000
commitab885c56e2ea715ba089965960d39f64c0554027 (patch)
treed5883c0ac5b5afcf7345ceefe6ed75350f596592 /llvm/docs
parentd83af71b3a7789867fecabcac2e140fc15a23aca (diff)
downloadbcm5719-llvm-ab885c56e2ea715ba089965960d39f64c0554027.tar.gz
bcm5719-llvm-ab885c56e2ea715ba089965960d39f64c0554027.zip
[libfuzzer][doc] documenting running libfuzzer tests.
Differential Revision: http://reviews.llvm.org/D20594 llvm-svn: 270626
Diffstat (limited to 'llvm/docs')
-rw-r--r--llvm/docs/LibFuzzer.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/llvm/docs/LibFuzzer.rst b/llvm/docs/LibFuzzer.rst
index 72624e8b0fc..79e8d2947aa 100644
--- a/llvm/docs/LibFuzzer.rst
+++ b/llvm/docs/LibFuzzer.rst
@@ -689,6 +689,18 @@ If your target has massive leaks and the leak detection is disabled
you will eventually run out of RAM (see the ``-rss_limit_mb`` flag).
+Developing libFuzzer
+====================
+
+Building libFuzzer as a part of LLVM project and running its test requires
+special CMake configuration:
+
+.. code-block:: console
+
+ cmake -GNinja -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DLLVM_USE_SANITIZER=Address -DLLVM_USE_SANITIZE_COVERAGE=YES -DCMAKE_BUILD_TYPE=Release /path/to/llvm
+ ninja check-fuzzer
+
+
Fuzzing components of LLVM
==========================
.. contents::
OpenPOWER on IntegriCloud