diff options
author | cocochpie <cocochpie@gmail.com> | 2023-06-06 04:07:38 +0000 |
---|---|---|
committer | cocochpie <cocochpie@gmail.com> | 2023-06-06 04:07:38 +0000 |
commit | 9585f5cdfeb7b287ec8614a92f295127eba0a384 (patch) | |
tree | 9462d9f0b5738d6eee76f8c6ed221d568339127a | |
parent | abc26a932a187f4fb84ac178c44326c9e46efca5 (diff) | |
download | afl++-9585f5cdfeb7b287ec8614a92f295127eba0a384.tar.gz |
change the ‘#if’ to >= 17 instead of < 17
-rw-r--r-- | instrumentation/SanitizerCoveragePCGUARD.so.cc | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/instrumentation/SanitizerCoveragePCGUARD.so.cc b/instrumentation/SanitizerCoveragePCGUARD.so.cc index 25851dda..7171e7aa 100644 --- a/instrumentation/SanitizerCoveragePCGUARD.so.cc +++ b/instrumentation/SanitizerCoveragePCGUARD.so.cc @@ -18,11 +18,6 @@ #include "llvm/ADT/Triple.h" #endif #endif -#if LLVM_VERSION_MAJOR < 17 - #include "llvm/Analysis/EHPersonalities.h" -#else - #include "llvm/IR/EHPersonalities.h" -#endif #include "llvm/Analysis/PostDominators.h" #if LLVM_VERSION_MAJOR < 15 #include "llvm/IR/CFG.h" @@ -33,10 +28,10 @@ #include "llvm/IR/DebugInfo.h" #endif #include "llvm/IR/Dominators.h" -#if LLVM_VERSION_MAJOR < 17 - #include "llvm/Analysis/EHPersonalities.h" -#else +#if LLVM_VERSION_MAJOR >= 17 #include "llvm/IR/EHPersonalities.h" +#else + #include "llvm/Analysis/EHPersonalities.h" #endif #include "llvm/IR/Function.h" #if LLVM_VERSION_MAJOR >= 16 |