todo list

This commit is contained in:
vanhauser-thc
2022-02-21 10:32:43 +01:00
parent 92db443635
commit 914eb79cbc
2 changed files with 10 additions and 3 deletions

10
TODO_LLVM Normal file
View 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

View File

@ -515,10 +515,8 @@ static void edit_params(u32 argc, char **argv, char **envp) {
} else {
#if LLVM_MAJOR >= 11
cc_params[cc_par_cnt++] = "-fexperimental-new-pass-manager";
cc_params[cc_par_cnt++] =
alloc_printf("-fpass-plugin=%s/split-compares-pass.so", obj_path);
// cc_params[cc_par_cnt++] = "-fno-experimental-new-pass-manager";
#else
cc_params[cc_par_cnt++] = "-Xclang";
cc_params[cc_par_cnt++] = "-load";
@ -622,7 +620,6 @@ static void edit_params(u32 argc, char **argv, char **envp) {
} else {
cc_params[cc_par_cnt++] = "-fno-experimental-new-pass-manager";
cc_params[cc_par_cnt++] = "-Xclang";
cc_params[cc_par_cnt++] = "-load";
cc_params[cc_par_cnt++] = "-Xclang";