mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-16 20:08:07 +00:00
LLVM 14 fixes
This commit is contained in:
@ -549,8 +549,8 @@ static void edit_params(u32 argc, char **argv, char **envp) {
|
||||
}
|
||||
|
||||
#if LLVM_MAJOR >= 13
|
||||
// fuck you llvm 13
|
||||
cc_params[cc_par_cnt++] = "-fno-experimental-new-pass-manager";
|
||||
// Use the old pass manager in LLVM 14 which the afl++ passes still use.
|
||||
cc_params[cc_par_cnt++] = "-flegacy-pass-manager";
|
||||
#endif
|
||||
|
||||
if (lto_mode && !have_c) {
|
||||
|
Reference in New Issue
Block a user