diff options
author | hexcoder- <heiko@hexco.de> | 2021-11-23 21:07:11 +0100 |
---|---|---|
committer | hexcoder- <heiko@hexco.de> | 2021-11-23 21:07:11 +0100 |
commit | 1fbb7cb2fa0ad10c09f8515124989d119558121d (patch) | |
tree | 3381224c854f51554802fa86cdfbbc625c50d63f /src | |
parent | 90d7931af6398cf632b5bf2371e3cb6c35286e70 (diff) | |
download | afl++-1fbb7cb2fa0ad10c09f8515124989d119558121d.tar.gz |
fix switch to new pass manager
Diffstat (limited to 'src')
-rw-r--r-- | src/afl-cc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/afl-cc.c b/src/afl-cc.c index ca413417..9173fc4b 100644 --- a/src/afl-cc.c +++ b/src/afl-cc.c @@ -462,7 +462,7 @@ static void edit_params(u32 argc, char **argv, char **envp) { } else { -#if LLVM_VERSION_MAJOR >= 11 /* use new pass manager */ +#if LLVM_MAJOR >= 11 /* use new pass manager */ cc_params[cc_par_cnt++] = "-fexperimental-new-pass-manager"; cc_params[cc_par_cnt++] = alloc_printf("-fpass-plugin=%s/split-switches-pass.so", obj_path); @@ -488,7 +488,7 @@ static void edit_params(u32 argc, char **argv, char **envp) { } else { -#if LLVM_VERSION_MAJOR >= 11 /* use new pass manager */ +#if LLVM_MAJOR >= 11 /* use new pass manager */ cc_params[cc_par_cnt++] = "-fexperimental-new-pass-manager"; cc_params[cc_par_cnt++] = alloc_printf( "-fpass-plugin=%s/compare-transform-pass.so", obj_path); |