diff options
author | van Hauser <vh@thc.org> | 2020-04-10 22:33:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-10 22:33:11 +0200 |
commit | 3a509c61689112cc321c4c78f058014abff66c8a (patch) | |
tree | 741ceff34f03b66c6455fafdb3694ea4ba6f8c28 /llvm_mode/afl-clang-fast.c | |
parent | 6dcbc4dff4bc9f5357bbf0c72ec6f3a0f937c2d0 (diff) | |
download | afl++-3a509c61689112cc321c4c78f058014abff66c8a.tar.gz |
LTO optimization, variable map size, autodictionary (#307)
* lto module clean-up * step 1/3 * step 1/3 completed * if tmp is ever made non-static * parts 2 and 3 - autodictionary is complete * variable map_size support * variable map size: changed overlooked functions * remove debug for autodict * 64 bit alignment of map size * fix review comments * force 64 bit alignment on both sides * typo
Diffstat (limited to 'llvm_mode/afl-clang-fast.c')
-rw-r--r-- | llvm_mode/afl-clang-fast.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm_mode/afl-clang-fast.c b/llvm_mode/afl-clang-fast.c index 26ee0bab..cdb22cb9 100644 --- a/llvm_mode/afl-clang-fast.c +++ b/llvm_mode/afl-clang-fast.c @@ -477,6 +477,9 @@ static void edit_params(u32 argc, char **argv, char **envp) { } + if (instrument_mode == INSTRUMENT_LTO) + cc_params[cc_par_cnt++] = alloc_printf("%s/afl-llvm-rt-lto.o", obj_path); + #ifndef __ANDROID__ switch (bit_mode) { |