about summary refs log tree commit diff
path: root/instrumentation/SanitizerCoverageLTO.so.cc
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2023-06-01 12:27:34 +0200
committervanhauser-thc <vh@thc.org>2023-06-01 12:27:34 +0200
commit2b500ce97ee50c4d237702e6121bbd38e56e8ec6 (patch)
treec154160b6682bfef1d8a76eccb51741b1f203ed9 /instrumentation/SanitizerCoverageLTO.so.cc
parent9324f3f6289c62451e2add1f7553a7eda0d7d642 (diff)
downloadafl++-2b500ce97ee50c4d237702e6121bbd38e56e8ec6.tar.gz
llvm 15 fixes
Diffstat (limited to 'instrumentation/SanitizerCoverageLTO.so.cc')
-rw-r--r--instrumentation/SanitizerCoverageLTO.so.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/instrumentation/SanitizerCoverageLTO.so.cc b/instrumentation/SanitizerCoverageLTO.so.cc
index d7b03634..2d17ffd4 100644
--- a/instrumentation/SanitizerCoverageLTO.so.cc
+++ b/instrumentation/SanitizerCoverageLTO.so.cc
@@ -331,7 +331,7 @@ llvmGetPassPluginInfo() {
 #if LLVM_VERSION_MAJOR <= 13
             using OptimizationLevel = typename PassBuilder::OptimizationLevel;
 #endif
-#if LLVM_VERSION_MAJOR >= 15
+#if LLVM_VERSION_MAJOR >= 16
             PB.registerFullLinkTimeOptimizationLastEPCallback(
 #else
             PB.registerOptimizerLastEPCallback(