From 82752fe38db590184f7f1725954f906da397d91c Mon Sep 17 00:00:00 2001 From: vanhauser-thc Date: Tue, 19 Nov 2024 16:25:50 +0100 Subject: code format --- instrumentation/SanitizerCoveragePCGUARD.so.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'instrumentation/SanitizerCoveragePCGUARD.so.cc') 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" -- cgit 1.4.1