forked from OSchip/llvm-project
[Symbolication] Fix unicode compatibility between 2 and 3.
Triples are always ASCII for now, but we were handed out a unicode object. <rdar://problem/53592772> llvm-svn: 367260
This commit is contained in:
parent
2fd2f41d2a
commit
acc626bc57
|
@ -380,7 +380,7 @@ class Image:
|
|||
return None
|
||||
resolved_path = self.get_resolved_path()
|
||||
self.module = target.AddModule(
|
||||
resolved_path, self.arch, uuid_str, self.symfile)
|
||||
resolved_path, str(self.arch), uuid_str, self.symfile)
|
||||
if not self.module:
|
||||
return 'error: unable to get module for (%s) "%s"' % (
|
||||
self.arch, self.get_resolved_path())
|
||||
|
|
Loading…
Reference in New Issue