summaryrefslogtreecommitdiffstats
path: root/lldb/examples/python
diff options
context:
space:
mode:
authorDavide Italiano <davide@freebsd.org>2019-07-29 21:25:37 +0000
committerDavide Italiano <davide@freebsd.org>2019-07-29 21:25:37 +0000
commitacc626bc57c7b28b56a629bd1a6b7a947e9bbf50 (patch)
tree42166c0736902ca1ed4b86c425506993ef4873ba /lldb/examples/python
parent2fd2f41d2a364687b6a3880b0e25cd9a3470b252 (diff)
downloadbcm5719-llvm-acc626bc57c7b28b56a629bd1a6b7a947e9bbf50.tar.gz
bcm5719-llvm-acc626bc57c7b28b56a629bd1a6b7a947e9bbf50.zip
[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
Diffstat (limited to 'lldb/examples/python')
-rwxr-xr-xlldb/examples/python/symbolication.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/examples/python/symbolication.py b/lldb/examples/python/symbolication.py
index dac9305d269..27f9f312cd6 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())
OpenPOWER on IntegriCloud