diff options
author | hexcoder- <heiko@hexco.de> | 2021-12-04 17:27:25 +0100 |
---|---|---|
committer | hexcoder- <heiko@hexco.de> | 2021-12-04 17:27:25 +0100 |
commit | 29e4c315d9943d393d425b1c8e0018bd03e77251 (patch) | |
tree | 272d5eb263a5868391e805a1b68930440619e161 | |
parent | fc094dee13060fd84e89764a9526c11a55072e4d (diff) | |
download | afl++-29e4c315d9943d393d425b1c8e0018bd03e77251.tar.gz |
Fix compilation for LLVM 12.0.0, use older method getKnownMinValue()
-rw-r--r-- | instrumentation/SanitizerCoveragePCGUARD.so.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/instrumentation/SanitizerCoveragePCGUARD.so.cc b/instrumentation/SanitizerCoveragePCGUARD.so.cc index 92450781..d5746cc7 100644 --- a/instrumentation/SanitizerCoveragePCGUARD.so.cc +++ b/instrumentation/SanitizerCoveragePCGUARD.so.cc @@ -889,7 +889,7 @@ bool ModuleSanitizerCoverage::InjectCoverage(Function & F, if (tt) { cnt_sel++; - cnt_sel_inc += tt->getElementCount().getFixedValue(); + cnt_sel_inc += tt->getElementCount().getKnownMinValue(); } |