diff options
author | vH <vh@thc.org> | 2023-04-28 14:56:52 +0200 |
---|---|---|
committer | vH <vh@thc.org> | 2023-04-28 14:56:52 +0200 |
commit | 00c86b7cb155a266c84c9a62b33697fa3f367386 (patch) | |
tree | ba51224dcaf3ce09a24dc9661faa62019e5debfb /instrumentation/afl-llvm-common.h | |
parent | 5813a4319c88848b2a1c47c12fe27f5e14dcad44 (diff) | |
download | afl++-00c86b7cb155a266c84c9a62b33697fa3f367386.tar.gz |
llvm 17 changes
Diffstat (limited to 'instrumentation/afl-llvm-common.h')
-rw-r--r-- | instrumentation/afl-llvm-common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/instrumentation/afl-llvm-common.h b/instrumentation/afl-llvm-common.h index 16a13da5..c9324460 100644 --- a/instrumentation/afl-llvm-common.h +++ b/instrumentation/afl-llvm-common.h @@ -22,7 +22,9 @@ typedef long double max_align_t; #include "llvm/IR/Module.h" #include "llvm/Support/Debug.h" #include "llvm/Support/MathExtras.h" +#if LLVM_VERSION_MAJOR < 17 #include "llvm/Transforms/IPO/PassManagerBuilder.h" +#endif #if LLVM_VERSION_MAJOR > 3 || \ (LLVM_VERSION_MAJOR == 3 && LLVM_VERSION_MINOR > 4) |