about summary refs log tree commit diff
path: root/instrumentation/SanitizerCoveragePCGUARD.so.cc
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2024-11-19 16:25:50 +0100
committervanhauser-thc <vh@thc.org>2024-11-19 16:25:50 +0100
commit82752fe38db590184f7f1725954f906da397d91c (patch)
tree82bce83b6e6f08f96f513824ffd3c2f478e43f02 /instrumentation/SanitizerCoveragePCGUARD.so.cc
parentd11ade56e223185f53629a6e2f1096c7098c3e8d (diff)
downloadafl++-dev.tar.gz
code format dev
Diffstat (limited to 'instrumentation/SanitizerCoveragePCGUARD.so.cc')
-rw-r--r--instrumentation/SanitizerCoveragePCGUARD.so.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/instrumentation/SanitizerCoveragePCGUARD.so.cc b/instrumentation/SanitizerCoveragePCGUARD.so.cc
index 859b4e7b..0919ba35 100644
--- a/instrumentation/SanitizerCoveragePCGUARD.so.cc
+++ b/instrumentation/SanitizerCoveragePCGUARD.so.cc
@@ -23,6 +23,10 @@
   #include "llvm/IR/CFG.h"
 #endif
 #include "llvm/IR/Constant.h"
+#if LLVM_VERSION_MAJOR >= 20
+  #include "llvm/IR/Constants.h"
+  #include "llvm/IR/ValueSymbolTable.h"
+#endif
 #include "llvm/IR/DataLayout.h"
 #if LLVM_VERSION_MAJOR < 15
   #include "llvm/IR/DebugInfo.h"