skip -fuse-ld parameters when in LTO mode
MODIFY
llvm_mode/afl-clang-fast.c
llvm_mode/afl-clang-fast.c
@@ -379,6 +379,9 @@ static void edit_params(u32 argc, char **argv, char **envp) {
if (!strcmp(cur, "-Wl,-z,defs") || !strcmp(cur, "-Wl,--no-undefined"))
continue;
+ if (lto_mode && !strncmp(cur, "-fuse-ld=", 9))
+ continue;
+
cc_params[cc_par_cnt++] = cur;
}

skip -fuse-ld parameters when in LTO mode