forked from OSchip/llvm-project
Removed a call to truncate() which slowed down
the stress test by a LOT. llvm-svn: 154208
This commit is contained in:
parent
5969411316
commit
afc7b13e56
lldb/examples/python
|
@ -52,7 +52,6 @@ if target.IsValid() == False:
|
||||||
def ResetLogFile(log_file):
|
def ResetLogFile(log_file):
|
||||||
if log_file != sys.stdout:
|
if log_file != sys.stdout:
|
||||||
log_file.seek(0)
|
log_file.seek(0)
|
||||||
log_file.truncate(0)
|
|
||||||
|
|
||||||
def PrintByteArray(log_file, byte_array):
|
def PrintByteArray(log_file, byte_array):
|
||||||
for byte in byte_array:
|
for byte in byte_array:
|
||||||
|
|
Loading…
Reference in New Issue