diff options
| author | Julian Büning <julian.buening@rwth-aachen.de> | 2018-10-03 14:42:37 +0200 |
|---|---|---|
| committer | Cristian Cadar <c.cadar@imperial.ac.uk> | 2018-10-23 18:57:53 +0300 |
| commit | 2b34877c5dbf24eabf331a124b1e68d901a72cba (patch) | |
| tree | 4d6f4a753d9d36a18c482cf0c8d4b8dc550bafb8 /lib/Core/Executor.h | |
| parent | d032742a963e7d8e83dad509dd1c95b4e1a34436 (diff) | |
| download | klee-2b34877c5dbf24eabf331a124b1e68d901a72cba.tar.gz | |
refactor klee_open_output_file to return std::unique_ptr
and introduce klee_open_compressed_output_file with similar behavior along some other minor improvements
Diffstat (limited to 'lib/Core/Executor.h')
| -rw-r--r-- | lib/Core/Executor.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Core/Executor.h b/lib/Core/Executor.h index d9e20f1e..3643c3f4 100644 --- a/lib/Core/Executor.h +++ b/lib/Core/Executor.h @@ -27,6 +27,7 @@ #include "../Expr/ArrayExprOptimizer.h" #include <map> +#include <memory> #include <set> #include <string> #include <vector> @@ -221,7 +222,7 @@ private: ArrayCache arrayCache; /// File to print executed instructions to - llvm::raw_ostream *debugInstFile; + std::unique_ptr<llvm::raw_ostream> debugInstFile; // @brief Buffer used by logBuffer std::string debugBufferString; |
