aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2023-06-01 13:28:07 +0200
committervanhauser-thc <vh@thc.org>2023-06-01 13:28:07 +0200
commitb644e48f36485c645cbc0dadf0fddb2aa14cc079 (patch)
tree82620ccfd9079b2e4fd0f7a6176b20508d4b68ca
parent2b500ce97ee50c4d237702e6121bbd38e56e8ec6 (diff)
downloadAFLplusplus-b644e48f36485c645cbc0dadf0fddb2aa14cc079.tar.gz
more llvm 15 specialities
-rw-r--r--instrumentation/SanitizerCoveragePCGUARD.so.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/instrumentation/SanitizerCoveragePCGUARD.so.cc b/instrumentation/SanitizerCoveragePCGUARD.so.cc
index 29ab1427..20f54b84 100644
--- a/instrumentation/SanitizerCoveragePCGUARD.so.cc
+++ b/instrumentation/SanitizerCoveragePCGUARD.so.cc
@@ -1212,7 +1212,7 @@ void ModuleSanitizerCoverageAFL::InjectCoverageAtBlock(Function &F,
}
-#if LLVM_VERSION_MAJOR >= 15
+#if LLVM_VERSION_MAJOR >= 16
InstrumentationIRBuilder IRB(&*IP);
#else
IRBuilder<> IRB(&*IP);