about summary refs log tree commit diff
path: root/instrumentation/cmplog-instructions-pass.cc
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2022-03-17 16:39:40 +0100
committervanhauser-thc <vh@thc.org>2022-03-17 16:39:40 +0100
commit3d1be62c96f2f10963b8fa6f3946e44e40e6b8b3 (patch)
treeb4078a9a667a8d5f9aa7d4d2ef07c4ddd441522c /instrumentation/cmplog-instructions-pass.cc
parentd1f59435caad7d83c22cd97599f0723887f9bde3 (diff)
downloadafl++-3d1be62c96f2f10963b8fa6f3946e44e40e6b8b3.tar.gz
merge fixes
Diffstat (limited to 'instrumentation/cmplog-instructions-pass.cc')
-rw-r--r--instrumentation/cmplog-instructions-pass.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/instrumentation/cmplog-instructions-pass.cc b/instrumentation/cmplog-instructions-pass.cc
index 85dec437..7c95d9bb 100644
--- a/instrumentation/cmplog-instructions-pass.cc
+++ b/instrumentation/cmplog-instructions-pass.cc
@@ -28,7 +28,6 @@
 #include "llvm/Config/llvm-config.h"
 #include "llvm/ADT/Statistic.h"
 #include "llvm/IR/IRBuilder.h"
-#include "llvm/IR/LegacyPassManager.h"
 #include "llvm/IR/Module.h"
 #include "llvm/Support/Debug.h"
 #include "llvm/Support/raw_ostream.h"
@@ -138,7 +137,7 @@ llvmGetPassPluginInfo() {
 #else
 char CmpLogInstructions::ID = 0;
 #endif
-  
+
 template <class Iterator>
 Iterator Unique(Iterator first, Iterator last) {
 
@@ -686,10 +685,10 @@ bool CmpLogInstructions::runOnModule(Module &M) {
 #else
   return true;
 #endif
-  
+
 }
 
-#if LLVM_MAJOR < 11                                /* use old pass manager */
+#if LLVM_MAJOR < 11                                 /* use old pass manager */
 static void registerCmpLogInstructionsPass(const PassManagerBuilder &,
                                            legacy::PassManagerBase &PM) {
 
@@ -710,3 +709,4 @@ static RegisterStandardPasses RegisterCmpLogInstructionsPassLTO(
     registerCmpLogInstructionsPass);
   #endif
 #endif
+