diff options
| author | Davide Italiano <davide@freebsd.org> | 2019-07-29 21:25:37 +0000 |
|---|---|---|
| committer | Davide Italiano <davide@freebsd.org> | 2019-07-29 21:25:37 +0000 |
| commit | acc626bc57c7b28b56a629bd1a6b7a947e9bbf50 (patch) | |
| tree | 42166c0736902ca1ed4b86c425506993ef4873ba /lldb/examples/python | |
| parent | 2fd2f41d2a364687b6a3880b0e25cd9a3470b252 (diff) | |
| download | bcm5719-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-x | lldb/examples/python/symbolication.py | 2 |
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()) |

