about summary refs log tree commit diff
path: root/instrumentation/SanitizerCoverageLTO.so.cc
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2024-04-19 17:34:50 +0200
committervanhauser-thc <vh@thc.org>2024-04-19 17:34:50 +0200
commit458b939bc4f0ed4016c2741529435a72283ffc74 (patch)
treebf1e50f721edcb9c099ac2041974ec1ade769a57 /instrumentation/SanitizerCoverageLTO.so.cc
parent476aca5b67f2926f0cdc7c50e9669e68cad9a851 (diff)
downloadafl++-458b939bc4f0ed4016c2741529435a72283ffc74.tar.gz
LTO fix
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 4518c1c7..14482deb 100644
--- a/instrumentation/SanitizerCoverageLTO.so.cc
+++ b/instrumentation/SanitizerCoverageLTO.so.cc
@@ -341,7 +341,7 @@ llvmGetPassPluginInfo() {
             using OptimizationLevel = typename PassBuilder::OptimizationLevel;
 #endif
 #if LLVM_VERSION_MAJOR >= 15
-            PB.registerFullLinkTimeOptimizationEarlyEPCallback(
+            PB.registerFullLinkTimeOptimizationLastEPCallback(
 #else
             PB.registerOptimizerLastEPCallback(
 #endif