diff options
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 6a6414ad..1f3463eb 100644 --- a/llvm_mode/afl-clang-fast.c +++ b/llvm_mode/afl-clang-fast.c @@ -716,6 +716,9 @@ int main(int argc, char **argv, char **envp) { } } + + if (instrument_opt_mode && lto_mode) + FATAL("CTX and NGRAM can not be used in LTO mode (and would make LTO useless)"); if (!instrument_opt_mode) { |