diff options
| author | Kostya Serebryany <kcc@google.com> | 2019-01-31 23:43:00 +0000 |
|---|---|---|
| committer | Kostya Serebryany <kcc@google.com> | 2019-01-31 23:43:00 +0000 |
| commit | a78a44d480bda7ad51d359ced2a56f0b32554c0a (patch) | |
| tree | 8adac28d66a6619cf29ec2951014119cfc848a01 /clang | |
| parent | 50d6579bac8fb6b9c65d3c762ab485804ffe3a9c (diff) | |
| download | bcm5719-llvm-a78a44d480bda7ad51d359ced2a56f0b32554c0a.tar.gz bcm5719-llvm-a78a44d480bda7ad51d359ced2a56f0b32554c0a.zip | |
[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
llvm-svn: 352818
Diffstat (limited to 'clang')
| -rw-r--r-- | clang/docs/SanitizerCoverage.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/docs/SanitizerCoverage.rst b/clang/docs/SanitizerCoverage.rst index 728aa2f77fc..c5c50a5dd96 100644 --- a/clang/docs/SanitizerCoverage.rst +++ b/clang/docs/SanitizerCoverage.rst @@ -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. |

