From: Davide Italiano Date: Mon, 29 Jul 2019 21:25:37 +0000 (+0000) Subject: [Symbolication] Fix unicode compatibility between 2 and 3. X-Git-Tag: llvmorg-11-init~13346 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=acc626bc57c7b28b56a629bd1a6b7a947e9bbf50;p=platform%2Fupstream%2Fllvm.git [Symbolication] Fix unicode compatibility between 2 and 3. Triples are always ASCII for now, but we were handed out a unicode object. llvm-svn: 367260 --- diff --git a/lldb/examples/python/symbolication.py b/lldb/examples/python/symbolication.py index dac9305..27f9f31 100755 --- a/lldb/examples/python/symbolication.py +++ b/lldb/examples/python/symbolication.py @@ -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())