From c77aefb0ff36277c97f52e22cec3ffcc5db43064 Mon Sep 17 00:00:00 2001 From: Raphael Isemann Date: Thu, 19 Nov 2020 19:24:40 +0100 Subject: [PATCH] [lldb] Fix another Python2/3 string<->bytes type error in patch-crashlog.py --- lldb/test/Shell/ScriptInterpreter/Python/Crashlog/patch-crashlog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.7.4