diff options
author | Dan Liew <daniel.liew@imperial.ac.uk> | 2013-08-23 18:12:37 +0100 |
---|---|---|
committer | Dan Liew <daniel.liew@imperial.ac.uk> | 2013-08-23 18:12:37 +0100 |
commit | 40f35e8217e2d77205c013cfdd85fd5198c51b93 (patch) | |
tree | 1ce2c7c15aeddb93e4b356788bfb94f2fffc8810 /lib/Solver | |
parent | c4147c2ad9ba1e74642e1a3de31be8f4446cc7f3 (diff) | |
download | klee-40f35e8217e2d77205c013cfdd85fd5198c51b93.tar.gz |
In QueryLoggingSolver call flush() on std::ofstream so that queries
get correctly logged if an assertion failure is hit later on.
Diffstat (limited to 'lib/Solver')
-rw-r--r-- | lib/Solver/QueryLoggingSolver.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Solver/QueryLoggingSolver.cpp b/lib/Solver/QueryLoggingSolver.cpp index e7187fc3..f2e38182 100644 --- a/lib/Solver/QueryLoggingSolver.cpp +++ b/lib/Solver/QueryLoggingSolver.cpp @@ -74,6 +74,7 @@ void QueryLoggingSolver::flushBuffer() { // we do additional check here to log only timeouts in case // user specified negative value for minQueryTimeToLog param os << logBuffer.str(); + os.flush(); } } |