From: Raphael Isemann Date: Thu, 19 Nov 2020 18:24:40 +0000 (+0100) Subject: [lldb] Fix another Python2/3 string<->bytes type error in patch-crashlog.py X-Git-Tag: llvmorg-13-init~5608 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c77aefb0ff36277c97f52e22cec3ffcc5db43064;p=platform%2Fupstream%2Fllvm.git [lldb] Fix another Python2/3 string<->bytes type error in patch-crashlog.py --- 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: