diff options
author | Kostya Serebryany <kcc@google.com> | 2016-08-30 01:12:10 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2016-08-30 01:12:10 +0000 |
commit | 8c23b334cda0634d00bd3d454c533057a4b1cabc (patch) | |
tree | 6692d43f16dfc3cda9ad393103acaf3e6cae47d9 /include | |
parent | 557221a0e16e7f872eafc8bc488687cc6e00c43f (diff) |
[sanitizer-coverage] add two more modes of instrumentation: trace-div and trace-gep, mostly usaful for value-profile-based fuzzing; llvm part
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@280043 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Transforms/Instrumentation.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/llvm/Transforms/Instrumentation.h b/include/llvm/Transforms/Instrumentation.h index 09eef7e0750..9517fdf669e 100644 --- a/include/llvm/Transforms/Instrumentation.h +++ b/include/llvm/Transforms/Instrumentation.h @@ -136,7 +136,8 @@ ModulePass *createEfficiencySanitizerPass( struct SanitizerCoverageOptions { SanitizerCoverageOptions() : CoverageType(SCK_None), IndirectCalls(false), TraceBB(false), - TraceCmp(false), Use8bitCounters(false), TracePC(false) {} + TraceCmp(false), TraceDiv(false), TraceGep(false), + Use8bitCounters(false), TracePC(false) {} enum Type { SCK_None = 0, @@ -147,6 +148,8 @@ struct SanitizerCoverageOptions { bool IndirectCalls; bool TraceBB; bool TraceCmp; + bool TraceDiv; + bool TraceGep; bool Use8bitCounters; bool TracePC; }; |