diff options
author | van Hauser <vh@thc.org> | 2020-05-26 13:19:57 +0200 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2020-05-26 13:19:57 +0200 |
commit | 996e1515b320fb2d44c367dea7b4d26f2d56f5df (patch) | |
tree | 6a298c420819aa9a22feae38bf88385d305d6e41 /llvm_mode/afl-clang-fast.c | |
parent | 0994972c07333af3a1fecf694c6527517da966ca (diff) | |
download | afl++-996e1515b320fb2d44c367dea7b4d26f2d56f5df.tar.gz |
better performance compilation options for afl++ and targets
Diffstat (limited to 'llvm_mode/afl-clang-fast.c')
-rw-r--r-- | llvm_mode/afl-clang-fast.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm_mode/afl-clang-fast.c b/llvm_mode/afl-clang-fast.c index e8f20bb2..fb072651 100644 --- a/llvm_mode/afl-clang-fast.c +++ b/llvm_mode/afl-clang-fast.c @@ -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; } |