From 2b34877c5dbf24eabf331a124b1e68d901a72cba Mon Sep 17 00:00:00 2001 From: Julian Büning Date: Wed, 3 Oct 2018 14:42:37 +0200 Subject: 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 --- lib/Core/Executor.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/Core/Executor.h') 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 +#include #include #include #include @@ -221,7 +222,7 @@ private: ArrayCache arrayCache; /// File to print executed instructions to - llvm::raw_ostream *debugInstFile; + std::unique_ptr debugInstFile; // @brief Buffer used by logBuffer std::string debugBufferString; -- cgit 1.4.1