better performance compilation options for afl++ and targets

This commit is contained in:
van Hauser
2020-05-26 13:19:57 +02:00
parent 0994972c07
commit 996e1515b3
9 changed files with 46 additions and 41 deletions

View File

@ -335,7 +335,7 @@ static void edit_params(u32 argc, char **argv, char **envp) {
}
cc_params[cc_par_cnt++] = "-Qunused-arguments";
//cc_params[cc_par_cnt++] = "-Qunused-arguments";
// in case LLVM is installed not via a package manager or "make install"
// e.g. compiled download or compiled from github then it's ./lib directory
@ -440,8 +440,8 @@ static void edit_params(u32 argc, char **argv, char **envp) {
cc_params[cc_par_cnt++] = "-g";
cc_params[cc_par_cnt++] = "-O3";
cc_params[cc_par_cnt++] = "-funroll-loops";
if (strlen(march_opt) > 1 && march_opt[0] == '-')
cc_params[cc_par_cnt++] = march_opt;
//if (strlen(march_opt) > 1 && march_opt[0] == '-')
// cc_params[cc_par_cnt++] = march_opt;
}