diff options
author | van Hauser <vh@thc.org> | 2022-03-17 16:30:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-17 16:30:44 +0100 |
commit | d1f59435caad7d83c22cd97599f0723887f9bde3 (patch) | |
tree | 59d6f7ef2222cb92835d08398de3a1d32d2f8528 /src/afl-ld-lto.c | |
parent | 1a65df2beee0a68bd5198a44f42ae1346f7ee231 (diff) | |
parent | 1bea949f34fb437a60ca772787a9018a3ba79053 (diff) | |
download | afl++-d1f59435caad7d83c22cd97599f0723887f9bde3.tar.gz |
Merge pull request #1353 from AFLplusplus/newpm2
new pass manager
Diffstat (limited to 'src/afl-ld-lto.c')
-rw-r--r-- | src/afl-ld-lto.c | 5 |
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); |