[Lldb-commits] [lldb] 5db8e23 - [lldb] Temporarily bump the max length of the pexpect error message to diagnose an lldb-aarch64 test failure
Raphael Isemann via lldb-commits
lldb-commits at lists.llvm.org
Wed Jul 28 02:48:19 PDT 2021
Author: Raphael Isemann
Date: 2021-07-28T11:47:54+02:00
New Revision: 5db8e232126fc4c0f5d5b0339bdc5a49830268d1
URL: https://github.com/llvm/llvm-project/commit/5db8e232126fc4c0f5d5b0339bdc5a49830268d1
DIFF: https://github.com/llvm/llvm-project/commit/5db8e232126fc4c0f5d5b0339bdc5a49830268d1.diff
LOG: [lldb] Temporarily bump the max length of the pexpect error message to diagnose an lldb-aarch64 test failure
This is only temporarily to gather some logs before this gets reverted. See
D106873 for a discussion about how/if we can make this change permanent.
Added:
Modified:
lldb/third_party/Python/module/pexpect-4.6/pexpect/pty_spawn.py
Removed:
################################################################################
diff --git a/lldb/third_party/Python/module/pexpect-4.6/pexpect/pty_spawn.py b/lldb/third_party/Python/module/pexpect-4.6/pexpect/pty_spawn.py
index 6b9ad3f63f7cd..8ef077aa7d31b 100644
--- a/lldb/third_party/Python/module/pexpect-4.6/pexpect/pty_spawn.py
+++ b/lldb/third_party/Python/module/pexpect-4.6/pexpect/pty_spawn.py
@@ -212,8 +212,8 @@ def __str__(self):
s.append(repr(self))
s.append('command: ' + str(self.command))
s.append('args: %r' % (self.args,))
- s.append('buffer (last 100 chars): %r' % self.buffer[-100:])
- s.append('before (last 100 chars): %r' % self.before[-100:] if self.before else '')
+ s.append('buffer (last 10000 chars): %r' % self.buffer[-10000:])
+ s.append('before (last 10000 chars): %r' % self.before[-10000:] if self.before else '')
s.append('after: %r' % (self.after,))
s.append('match: %r' % (self.match,))
s.append('match_index: ' + str(self.match_index))
More information about the lldb-commits
mailing list