From afc7b13e562ecd8f6e95b11b7d7e1a583099a584 Mon Sep 17 00:00:00 2001 From: Sean Callanan Date: Fri, 6 Apr 2012 21:04:20 +0000 Subject: [PATCH] Removed a call to truncate() which slowed down the stress test by a LOT. llvm-svn: 154208 --- lldb/examples/python/disasm-stress-test.py | 1 - 1 file changed, 1 deletion(-) diff --git a/lldb/examples/python/disasm-stress-test.py b/lldb/examples/python/disasm-stress-test.py index 78317933da3b..ac6b6ff5b482 100755 --- a/lldb/examples/python/disasm-stress-test.py +++ b/lldb/examples/python/disasm-stress-test.py @@ -52,7 +52,6 @@ if target.IsValid() == False: def ResetLogFile(log_file): if log_file != sys.stdout: log_file.seek(0) - log_file.truncate(0) def PrintByteArray(log_file, byte_array): for byte in byte_array: