mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-17 04:18:06 +00:00
todo list
This commit is contained in:
10
TODO_LLVM
Normal file
10
TODO_LLVM
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
with LLVM 14: only new pass manager
|
||||||
|
up to LLVM 13: only old pass manager
|
||||||
|
|
||||||
|
These do not work yet with the new pass manager:
|
||||||
|
cmplog-instructions-pass.so
|
||||||
|
compare-transform-pass.so
|
||||||
|
afl-llvm-dict2file.so
|
||||||
|
afl-llvm-lto-instrumentlist.so
|
||||||
|
SanitizerCoverageLTO.so
|
||||||
|
SanitizerCoveragePCGUARD.so
|
@ -515,10 +515,8 @@ static void edit_params(u32 argc, char **argv, char **envp) {
|
|||||||
} else {
|
} else {
|
||||||
|
|
||||||
#if LLVM_MAJOR >= 11
|
#if LLVM_MAJOR >= 11
|
||||||
cc_params[cc_par_cnt++] = "-fexperimental-new-pass-manager";
|
|
||||||
cc_params[cc_par_cnt++] =
|
cc_params[cc_par_cnt++] =
|
||||||
alloc_printf("-fpass-plugin=%s/split-compares-pass.so", obj_path);
|
alloc_printf("-fpass-plugin=%s/split-compares-pass.so", obj_path);
|
||||||
// cc_params[cc_par_cnt++] = "-fno-experimental-new-pass-manager";
|
|
||||||
#else
|
#else
|
||||||
cc_params[cc_par_cnt++] = "-Xclang";
|
cc_params[cc_par_cnt++] = "-Xclang";
|
||||||
cc_params[cc_par_cnt++] = "-load";
|
cc_params[cc_par_cnt++] = "-load";
|
||||||
@ -622,7 +620,6 @@ static void edit_params(u32 argc, char **argv, char **envp) {
|
|||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
cc_params[cc_par_cnt++] = "-fno-experimental-new-pass-manager";
|
|
||||||
cc_params[cc_par_cnt++] = "-Xclang";
|
cc_params[cc_par_cnt++] = "-Xclang";
|
||||||
cc_params[cc_par_cnt++] = "-load";
|
cc_params[cc_par_cnt++] = "-load";
|
||||||
cc_params[cc_par_cnt++] = "-Xclang";
|
cc_params[cc_par_cnt++] = "-Xclang";
|
||||||
|
Reference in New Issue
Block a user