summaryrefslogtreecommitdiffstats
path: root/lldb/examples
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2012-04-06 21:04:20 +0000
committerSean Callanan <scallanan@apple.com>2012-04-06 21:04:20 +0000
commitafc7b13e562ecd8f6e95b11b7d7e1a583099a584 (patch)
tree30e9012c4c8782ec098b0efdbaeadfcf978c3f69 /lldb/examples
parent59694113166312c8602d4cc09e3eb0803ca8c5a5 (diff)
downloadbcm5719-llvm-afc7b13e562ecd8f6e95b11b7d7e1a583099a584.tar.gz
bcm5719-llvm-afc7b13e562ecd8f6e95b11b7d7e1a583099a584.zip
Removed a call to truncate() which slowed down
the stress test by a LOT. llvm-svn: 154208
Diffstat (limited to 'lldb/examples')
-rwxr-xr-xlldb/examples/python/disasm-stress-test.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/lldb/examples/python/disasm-stress-test.py b/lldb/examples/python/disasm-stress-test.py
index 78317933da3..ac6b6ff5b48 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:
OpenPOWER on IntegriCloud