[crashlog] Add a missing call to decode.

<rdar://problem/51139357>

llvm-svn: 362044
This commit is contained in:
Davide Italiano 2019-05-30 00:35:43 +00:00
parent 43ae5c5974
commit 192dd7df2f
1 changed files with 1 additions and 1 deletions

View File

@ -257,7 +257,7 @@ class CrashLog(symbolication.Symbolicator):
def find_matching_slice(self):
dwarfdump_cmd_output = subprocess.check_output(
'dwarfdump --uuid "%s"' % self.path, shell=True)
'dwarfdump --uuid "%s"' % self.path, shell=True).decode("utf-8")
self_uuid = self.get_uuid()
for line in dwarfdump_cmd_output.splitlines():
match = self.dwarfdump_uuid_regex.search(line)