about summary refs log tree commit diff
path: root/instrumentation/afl-llvm-common.cc
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2021-12-01 11:38:55 +0100
committervanhauser-thc <vh@thc.org>2021-12-01 11:38:55 +0100
commit22827e807035a50394bac6a37406b19109fc655f (patch)
tree181a6922e0a36a9049ab0318dcb1b7c354efd8f7 /instrumentation/afl-llvm-common.cc
parentc2779cc6f9c904cba870e6b1059793cf38261766 (diff)
downloadafl++-22827e807035a50394bac6a37406b19109fc655f.tar.gz
unify LLVM_VERSION_... usage
Diffstat (limited to 'instrumentation/afl-llvm-common.cc')
-rw-r--r--instrumentation/afl-llvm-common.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/instrumentation/afl-llvm-common.cc b/instrumentation/afl-llvm-common.cc
index 3239ea91..e5e367a7 100644
--- a/instrumentation/afl-llvm-common.cc
+++ b/instrumentation/afl-llvm-common.cc
@@ -281,7 +281,7 @@ void scanForDangerousFunctions(llvm::Module *M) {
 
   if (!M) return;
 
-#if LLVM_VERSION_MAJOR > 3 || \
+#if LLVM_VERSION_MAJOR >= 4 || \
     (LLVM_VERSION_MAJOR == 3 && LLVM_VERSION_MINOR >= 9)
 
   for (GlobalIFunc &IF : M->ifuncs()) {