[llvm] r270626 - [libfuzzer][doc] documenting running libfuzzer tests.

Mike Aizatsky via llvm-commits llvm-commits at lists.llvm.org
Tue May 24 15:25:47 PDT 2016


Author: aizatsky
Date: Tue May 24 17:25:46 2016
New Revision: 270626

URL: http://llvm.org/viewvc/llvm-project?rev=270626&view=rev
Log:
[libfuzzer][doc] documenting running libfuzzer tests.

Differential Revision: http://reviews.llvm.org/D20594

Modified:
    llvm/trunk/docs/LibFuzzer.rst

Modified: llvm/trunk/docs/LibFuzzer.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/LibFuzzer.rst?rev=270626&r1=270625&r2=270626&view=diff
==============================================================================
--- llvm/trunk/docs/LibFuzzer.rst (original)
+++ llvm/trunk/docs/LibFuzzer.rst Tue May 24 17:25:46 2016
@@ -689,6 +689,18 @@ If your target has massive leaks and the
 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::




More information about the llvm-commits mailing list