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/cmplog-routines-pass.cc | |
parent | 5813a4319c88848b2a1c47c12fe27f5e14dcad44 (diff) | |
download | afl++-00c86b7cb155a266c84c9a62b33697fa3f367386.tar.gz |
llvm 17 changes
Diffstat (limited to 'instrumentation/cmplog-routines-pass.cc')
-rw-r--r-- | instrumentation/cmplog-routines-pass.cc | 4 |
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" |