about summary refs log tree commit diff
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2022-11-10 11:55:29 +0100
committervanhauser-thc <vh@thc.org>2022-11-10 11:55:29 +0100
commit513a6ce7b6c598d38d2b1439c4770c56f99b93c4 (patch)
treec4b825292542b2826357f82f091b0fe1a57ff294
parent21372473a1ae6fe8873206805eb2ffad100d97e2 (diff)
downloadafl++-513a6ce7b6c598d38d2b1439c4770c56f99b93c4.tar.gz
try llvm 16 fix
-rw-r--r--src/afl-cc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/afl-cc.c b/src/afl-cc.c
index cd2061e6..b362b85a 100644
--- a/src/afl-cc.c
+++ b/src/afl-cc.c
@@ -514,7 +514,9 @@ static void edit_params(u32 argc, char **argv, char **envp) {
     if (lto_mode && have_instr_env) {
 
 #if LLVM_MAJOR >= 11                                /* use new pass manager */
+  #if LLVM_MAJOR < 16
       cc_params[cc_par_cnt++] = "-fexperimental-new-pass-manager";
+  #endif
       cc_params[cc_par_cnt++] = alloc_printf(
           "-fpass-plugin=%s/afl-llvm-lto-instrumentlist.so", obj_path);
 #else