about summary refs log tree commit diff
path: root/src/afl-ld-lto.c
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2022-04-03 09:30:23 +0200
committerGitHub <noreply@github.com>2022-04-03 09:30:23 +0200
commit881aef21fd6ca3f3bcf0847587d4d6d86f3a69db (patch)
treed076384dedf423a4bb7c3d1507cb07281ebc2865 /src/afl-ld-lto.c
parent1d4f1e48797c064ee71441ba555b29fc3f467983 (diff)
parentc4363dd8b3d19a3e4bab8bc1fca1708ae2ff7899 (diff)
downloadafl++-881aef21fd6ca3f3bcf0847587d4d6d86f3a69db.tar.gz
Merge pull request #1362 from AFLplusplus/dev
push to stable
Diffstat (limited to 'src/afl-ld-lto.c')
-rw-r--r--src/afl-ld-lto.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/afl-ld-lto.c b/src/afl-ld-lto.c
index 9b58125f..5797def8 100644
--- a/src/afl-ld-lto.c
+++ b/src/afl-ld-lto.c
@@ -86,7 +86,7 @@ static void edit_params(int argc, char **argv) {
     for (i = 1; i < (u32)argc; i++) {
 
       if (strstr(argv[i], "/afl-llvm-rt-lto.o") != NULL) rt_lto_present = 1;
-      if (strstr(argv[i], "/afl-llvm-rt.o") != NULL) rt_present = 1;
+      if (strstr(argv[i], "/afl-compiler-rt.o") != NULL) rt_present = 1;
       if (strstr(argv[i], "/afl-llvm-lto-instr") != NULL) inst_present = 1;
 
     }
@@ -237,7 +237,8 @@ static void edit_params(int argc, char **argv) {
       }
 
       if (!rt_present)
-        ld_params[ld_param_cnt++] = alloc_printf("%s/afl-llvm-rt.o", afl_path);
+        ld_params[ld_param_cnt++] =
+            alloc_printf("%s/afl-compiler-rt.o", afl_path);
       if (!rt_lto_present)
         ld_params[ld_param_cnt++] =
             alloc_printf("%s/afl-llvm-rt-lto.o", afl_path);