about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2022-02-22 13:59:04 +0100
committerGitHub <noreply@github.com>2022-02-22 13:59:04 +0100
commit9b799aedddbd65d6176c838c74385ce3f59c1acb (patch)
treef870692214c80ebefc452e62424ebcf0a50c8b79 /src
parent914eb79cbc14b26b51172a7b14c2a5a3a0ed2875 (diff)
parentfee1acf7e6096533f1aa8cd74035bed21c90fdf6 (diff)
downloadafl++-9b799aedddbd65d6176c838c74385ce3f59c1acb.tar.gz
Merge pull request #1335 from AFLplusplus/dev
Dev
Diffstat (limited to 'src')
-rw-r--r--src/afl-cc.c4
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) {