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-03 17:11:41 +0100
committervanhauser-thc <vh@thc.org>2022-03-03 17:11:41 +0100
commit899fa59ab60e3924f986e17814cdfee544418e08 (patch)
treebac139f1b9b4ef0a4f7d30844f5bd12a07463cea /instrumentation/cmplog-instructions-pass.cc
parentf2831419f5ceb28e1bc0cbf67cada012bccfb843 (diff)
downloadafl++-899fa59ab60e3924f986e17814cdfee544418e08.tar.gz
port cmplog-switches-pass
Diffstat (limited to 'instrumentation/cmplog-instructions-pass.cc')
-rw-r--r--instrumentation/cmplog-instructions-pass.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/instrumentation/cmplog-instructions-pass.cc b/instrumentation/cmplog-instructions-pass.cc
index aa3ad560..5bd98072 100644
--- a/instrumentation/cmplog-instructions-pass.cc
+++ b/instrumentation/cmplog-instructions-pass.cc
@@ -119,18 +119,20 @@ llvmGetPassPluginInfo() {
           /* lambda to insert our pass into the pass pipeline. */
           [](PassBuilder &PB) {
 
-#if LLVM_VERSION_MAJOR <= 13
+  #if LLVM_VERSION_MAJOR <= 13
             using OptimizationLevel = typename PassBuilder::OptimizationLevel;
-#endif
+  #endif
             PB.registerOptimizerLastEPCallback(
                 [](ModulePassManager &MPM, OptimizationLevel OL) {
 
                   MPM.addPass(CmpLogInstructions());
 
                 });
+
           }};
 
 }
+
 #else
 char CmpLogInstructions::ID = 0;
 #endif