aboutsummaryrefslogtreecommitdiff
path: root/lldb/test/Shell/ScriptInterpreter/Python
diff options
context:
space:
mode:
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 9616591c..28396c5 100644
--- a/lldb/test/Shell/ScriptInterpreter/Python/Crashlog/patch-crashlog.py
+++ b/lldb/test/Shell/ScriptInterpreter/Python/Crashlog/patch-crashlog.py
@@ -32,7 +32,7 @@ class CrashLogPatcher:
def patch_addresses(self):
if not self.offsets:
return
- output = subprocess.check_output(['nm', self.binary])
+ output = subprocess.check_output(['nm', self.binary]).decode("utf-8")
for line in output.splitlines():
m = self.SYMBOL_REGEX.match(line)
if m: