[PATCH] D20594: [libfuzzer][doc] documenting running libfuzzer tests.

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


This revision was automatically updated to reflect the committed changes.
aizatsky marked an inline comment as done.
Closed by commit rL270626: [libfuzzer][doc] documenting running libfuzzer tests. (authored by aizatsky).

Changed prior to commit:
  http://reviews.llvm.org/D20594?vs=58334&id=58338#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D20594

Files:
  llvm/trunk/docs/LibFuzzer.rst

Index: llvm/trunk/docs/LibFuzzer.rst
===================================================================
--- llvm/trunk/docs/LibFuzzer.rst
+++ llvm/trunk/docs/LibFuzzer.rst
@@ -689,6 +689,18 @@
 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::


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20594.58338.patch
Type: text/x-patch
Size: 726 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160524/bbe6881f/attachment.bin>


More information about the llvm-commits mailing list