diff options
Diffstat (limited to 'src/afl-cc.c')
-rw-r--r-- | src/afl-cc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/afl-cc.c b/src/afl-cc.c index 09aa5e35..3e67085e 100644 --- a/src/afl-cc.c +++ b/src/afl-cc.c @@ -571,6 +571,10 @@ static void edit_params(u32 argc, char **argv, char **envp) { } +#if LLVM_MAJOR == 13 // TODO: set to 14 when done FIXME + // Use the old pass manager in LLVM 13 which the afl++ passes still use. + cc_params[cc_par_cnt++] = "-flegacy-pass-manager"; +#endif if (lto_mode && !have_c) { |