about summary refs log tree commit diff
path: root/instrumentation/cmplog-routines-pass.cc
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/cmplog-routines-pass.cc
parent7ca1b85c5e8229fa49620d0fb542c86965ef5abb (diff)
downloadafl++-74be9ab5ce61d5b561faf688c245143da1a0141e.tar.gz
llvm 17 changes
Diffstat (limited to 'instrumentation/cmplog-routines-pass.cc')
-rw-r--r--instrumentation/cmplog-routines-pass.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/instrumentation/cmplog-routines-pass.cc b/instrumentation/cmplog-routines-pass.cc
index 0498156d..39db5aa4 100644
--- a/instrumentation/cmplog-routines-pass.cc
+++ b/instrumentation/cmplog-routines-pass.cc
@@ -38,7 +38,9 @@
 #include "llvm/IR/Module.h"
 #include "llvm/Support/Debug.h"
 #include "llvm/Support/raw_ostream.h"
-#include "llvm/Transforms/IPO/PassManagerBuilder.h"
+#if LLVM_VERSION_MAJOR < 17
+  #include "llvm/Transforms/IPO/PassManagerBuilder.h"
+#endif
 #include "llvm/Transforms/Utils/BasicBlockUtils.h"
 #include "llvm/Pass.h"
 #include "llvm/Analysis/ValueTracking.h"