]> granicus.if.org Git - clang/commitdiff
[sanitizer-coverage] prune trace-cmp instrumentation for CMP isntructions that feed...
authorKostya Serebryany <kcc@google.com>
Thu, 31 Jan 2019 23:43:00 +0000 (23:43 +0000)
committerKostya Serebryany <kcc@google.com>
Thu, 31 Jan 2019 23:43:00 +0000 (23:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@352818 91177308-0d34-0410-b5e6-96231b3b80d8

docs/SanitizerCoverage.rst

index 728aa2f77fc2c5b58aaa75de115f7291ced8effe..c5c50a5dd969955cbc0ec687b05ff0123881f6b6 100644 (file)
@@ -248,6 +248,9 @@ and with  ``-fsanitize-coverage=trace-gep`` --
 the `LLVM GEP instructions <https://llvm.org/docs/GetElementPtr.html>`_
 (to capture array indices).
 
+Unless ``no-prune`` option is provided, some of the comparison instructions
+will not be instrumented.
+
 .. code-block:: c++
 
   // Called before a comparison instruction.