diff options
| author | Raphael Isemann <teemperor@gmail.com> | 2020-11-19 19:24:40 +0100 |
|---|---|---|
| committer | Raphael Isemann <teemperor@gmail.com> | 2020-11-19 19:24:40 +0100 |
| commit | c77aefb0ff36277c97f52e22cec3ffcc5db43064 (patch) | |
| tree | 3e3da3d830fa56e083f039954bc49748bf16f3ef /lldb/test/Shell/ScriptInterpreter/Python | |
| parent | a75b2e87e6cbfabdfdd0d72c6962acf9d7756dd7 (diff) | |
| download | llvm-c77aefb0ff36277c97f52e22cec3ffcc5db43064.zip llvm-c77aefb0ff36277c97f52e22cec3ffcc5db43064.tar.gz llvm-c77aefb0ff36277c97f52e22cec3ffcc5db43064.tar.bz2 | |
[lldb] Fix another Python2/3 string<->bytes type error in patch-crashlog.py
Diffstat (limited to 'lldb/test/Shell/ScriptInterpreter/Python')
| -rw-r--r-- | lldb/test/Shell/ScriptInterpreter/Python/Crashlog/patch-crashlog.py | 2 |
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: |
