about summary refs log tree commit diff
path: root/llvm_mode/afl-clang-fast.c
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-05-27 17:17:33 +0200
committervan Hauser <vh@thc.org>2020-05-27 17:17:33 +0200
commitaf670ca138e7d34c42a656a9cb145f0bef91b3fe (patch)
tree763e37f5b6fc83a3d5c51f9ad81e8ee04b62d3eb /llvm_mode/afl-clang-fast.c
parentaace0d119228aeb847e97f9dae50b8e0738eed90 (diff)
downloadafl++-af670ca138e7d34c42a656a9cb145f0bef91b3fe.tar.gz
enable snapshot lkm for llvm_mode persistent mode
Diffstat (limited to 'llvm_mode/afl-clang-fast.c')
-rw-r--r--llvm_mode/afl-clang-fast.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm_mode/afl-clang-fast.c b/llvm_mode/afl-clang-fast.c
index 64231a4e..0b081ae6 100644
--- a/llvm_mode/afl-clang-fast.c
+++ b/llvm_mode/afl-clang-fast.c
@@ -206,6 +206,8 @@ static void edit_params(u32 argc, char **argv, char **envp) {
 
   }
 
+  cc_params[cc_par_cnt++] = "-Wno-unused-command-line-argument";
+
   if (lto_mode && cpp_mode)
     cc_params[cc_par_cnt++] = "-lc++";  // needed by fuzzbench, early