From: Kostya Serebryany Date: Thu, 31 Jan 2019 23:43:00 +0000 (+0000) Subject: [sanitizer-coverage] prune trace-cmp instrumentation for CMP isntructions that feed... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e547ac93b1f29de11229551510baa6ee6ac3b8d6;p=clang [sanitizer-coverage] prune trace-cmp instrumentation for CMP isntructions that feed into the backedge branch. Instrumenting these CMP instructions is almost always useless (and harmful) for fuzzing git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@352818 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/SanitizerCoverage.rst b/docs/SanitizerCoverage.rst index 728aa2f77f..c5c50a5dd9 100644 --- a/docs/SanitizerCoverage.rst +++ b/docs/SanitizerCoverage.rst @@ -248,6 +248,9 @@ and with ``-fsanitize-coverage=trace-gep`` -- the `LLVM GEP instructions `_ (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.