diff options
Diffstat (limited to 'lib/Module/Passes.h')
-rw-r--r-- | lib/Module/Passes.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/Module/Passes.h b/lib/Module/Passes.h index 417ebe7d..6a302819 100644 --- a/lib/Module/Passes.h +++ b/lib/Module/Passes.h @@ -185,6 +185,14 @@ public: bool runOnModule(llvm::Module &M) override; }; #endif + +/// Instruments every function that contains a KLEE function call as nonopt +class OptNonePass : public llvm::ModulePass { +public: + static char ID; + OptNonePass() : llvm::ModulePass(ID) {} + bool runOnModule(llvm::Module &M) override; +}; } // namespace klee #endif |