about summary refs log tree commit diff
path: root/instrumentation/afl-llvm-common.h
diff options
context:
space:
mode:
authorvH <vh@thc.org>2023-04-28 14:55:35 +0200
committervH <vh@thc.org>2023-04-28 14:55:35 +0200
commit74be9ab5ce61d5b561faf688c245143da1a0141e (patch)
tree7795e30a1cec13eade2bc6e940dc66bb76898a49 /instrumentation/afl-llvm-common.h
parent7ca1b85c5e8229fa49620d0fb542c86965ef5abb (diff)
downloadafl++-74be9ab5ce61d5b561faf688c245143da1a0141e.tar.gz
llvm 17 changes
Diffstat (limited to 'instrumentation/afl-llvm-common.h')
-rw-r--r--instrumentation/afl-llvm-common.h2
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)