diff options
Diffstat (limited to 'lib/Module/Passes.h')
-rw-r--r-- | lib/Module/Passes.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/Module/Passes.h b/lib/Module/Passes.h index 9d39e8f2..417ebe7d 100644 --- a/lib/Module/Passes.h +++ b/lib/Module/Passes.h @@ -173,6 +173,18 @@ public: bool runOnModule(llvm::Module &M) override; bool checkPassed() const { return instructionOperandsConform; } }; + +#ifdef USE_WORKAROUND_LLVM_PR39177 +/// WorkaroundLLVMPR39177Pass - Workaround for LLVM PR39177 within KLEE repo. +/// For more information on this, please refer to the comments in +/// cmake/workaround_llvm_pr39177.cmake +class WorkaroundLLVMPR39177Pass : public llvm::ModulePass { +public: + static char ID; + WorkaroundLLVMPR39177Pass() : llvm::ModulePass(ID) {} + bool runOnModule(llvm::Module &M) override; +}; +#endif } // namespace klee #endif |