Author: Raphael Isemann Date: 2020-11-19T19:24:40+01:00 New Revision: c77aefb0ff36277c97f52e22cec3ffcc5db43064
URL: https://github.com/llvm/llvm-project/commit/c77aefb0ff36277c97f52e22cec3ffcc5db43064 DIFF: https://github.com/llvm/llvm-project/commit/c77aefb0ff36277c97f52e22cec3ffcc5db43064.diff LOG: [lldb] Fix another Python2/3 string<->bytes type error in patch-crashlog.py Added: Modified: lldb/test/Shell/ScriptInterpreter/Python/Crashlog/patch-crashlog.py Removed: ################################################################################ diff --git a/lldb/test/Shell/ScriptInterpreter/Python/Crashlog/patch-crashlog.py b/lldb/test/Shell/ScriptInterpreter/Python/Crashlog/patch-crashlog.py index 9616591c1f74..28396c530355 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 @@ def patch_uuid(self): 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: _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits