Author: Raphael Isemann
Date: 2020-11-18T09:58:02+01:00
New Revision: 2fa38fa9a651553080620f4c9883d075df2a706e

URL: 
https://github.com/llvm/llvm-project/commit/2fa38fa9a651553080620f4c9883d075df2a706e
DIFF: 
https://github.com/llvm/llvm-project/commit/2fa38fa9a651553080620f4c9883d075df2a706e.diff

LOG: [lldb] Python3 byte<->string issue 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 a8aeb357c846..9616591c1f74 100644
--- a/lldb/test/Shell/ScriptInterpreter/Python/Crashlog/patch-crashlog.py
+++ b/lldb/test/Shell/ScriptInterpreter/Python/Crashlog/patch-crashlog.py
@@ -24,7 +24,7 @@ def patch_executable(self):
         self.data = self.data.replace("@NAME@", os.path.basename(self.binary))
 
     def patch_uuid(self):
-        output = subprocess.check_output(['dwarfdump', '--uuid', self.binary])
+        output = subprocess.check_output(['dwarfdump', '--uuid', 
self.binary]).decode("utf-8")
         m = self.UUID_REGEX.match(output)
         if m:
             self.data = self.data.replace("@UUID@", m.group(1))


        
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to