fix missing output when lldb is buffering output (#474)

diff --git a/src/scripts/lldb.py b/src/scripts/lldb.py
index ef10437..89feffb 100644
--- a/src/scripts/lldb.py
+++ b/src/scripts/lldb.py
@@ -126,6 +126,7 @@
             stderr = process.GetSTDERR(1024)
 
     def CloseOut():
+        sys.stdout.flush()
         if (out):
             out.close()
         if (err):