aboutsummaryrefslogtreecommitdiff
path: root/lldb/test/Shell/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorRaphael Isemann <teemperor@gmail.com>2020-11-18 09:58:02 +0100
committerRaphael Isemann <teemperor@gmail.com>2020-11-18 09:58:02 +0100
commit2fa38fa9a651553080620f4c9883d075df2a706e (patch)
tree70656d71ee713d483e4e880f5ecc56ace37b4db1 /lldb/test/Shell/ScriptInterpreter/Python
parentfc40a03323a4b265ccbed34a07e281b13c5e8367 (diff)
downloadllvm-2fa38fa9a651553080620f4c9883d075df2a706e.zip
llvm-2fa38fa9a651553080620f4c9883d075df2a706e.tar.gz
llvm-2fa38fa9a651553080620f4c9883d075df2a706e.tar.bz2
[lldb] Python3 byte<->string issue in patch-crashlog.py
Diffstat (limited to 'lldb/test/Shell/ScriptInterpreter/Python')
-rw-r--r--lldb/test/Shell/ScriptInterpreter/Python/Crashlog/patch-crashlog.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/test/Shell/ScriptInterpreter/Python/Crashlog/patch-crashlog.py b/lldb/test/Shell/ScriptInterpreter/Python/Crashlog/patch-crashlog.py
index a8aeb357..9616591c 100644
--- a/lldb/test/Shell/ScriptInterpreter/Python/Crashlog/patch-crashlog.py
+++ b/lldb/test/Shell/ScriptInterpreter/Python/Crashlog/patch-crashlog.py
@@ -24,7 +24,7 @@ class CrashLogPatcher:
self.data = self.data.replace("@NAME@", os.path.basename(self.binary))
def patch_uuid(self):
- output = subprocess.check_output(['dwarfdump', '--uuid', self.binary])
+ output = subprocess.check_output(['dwarfdump', '--uuid', self.binary]).decode("utf-8")
m = self.UUID_REGEX.match(output)
if m:
self.data = self.data.replace("@UUID@", m.group(1))