aboutsummaryrefslogtreecommitdiff
path: root/lldb/examples/python/crashlog.py
diff options
context:
space:
mode:
authorDavide Italiano <davide@freebsd.org>2019-07-09 01:05:12 +0000
committerDavide Italiano <davide@freebsd.org>2019-07-09 01:05:12 +0000
commit68946d10ad3bd27e3388f1cfd53720341725132b (patch)
tree636e78d87cf5ee8b449809f3b9f8404d869cc554 /lldb/examples/python/crashlog.py
parentc6fe02b60b7758135fe3423473f4ffd5b2e1a61a (diff)
downloadllvm-68946d10ad3bd27e3388f1cfd53720341725132b.zip
llvm-68946d10ad3bd27e3388f1cfd53720341725132b.tar.gz
llvm-68946d10ad3bd27e3388f1cfd53720341725132b.tar.bz2
[crashlog] Fix a mismatch between bytes and strings.
The functions in read_plist() want bytes as input, not strings. <rdar://problem/52600712> llvm-svn: 365416
Diffstat (limited to 'lldb/examples/python/crashlog.py')
-rwxr-xr-xlldb/examples/python/crashlog.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/examples/python/crashlog.py b/lldb/examples/python/crashlog.py
index 3ccf6f7..9a8ec8c 100755
--- a/lldb/examples/python/crashlog.py
+++ b/lldb/examples/python/crashlog.py
@@ -300,7 +300,7 @@ class CrashLog(symbolication.Symbolicator):
if os.path.exists(self.dsymForUUIDBinary):
dsym_for_uuid_command = '%s %s' % (
self.dsymForUUIDBinary, uuid_str)
- s = subprocess.check_output(dsym_for_uuid_command, shell=True).decode("utf-8")
+ s = subprocess.check_output(dsym_for_uuid_command, shell=True)
if s:
try:
plist_root = read_plist(s)