diff --git a/lldb/examples/python/symbolication.py b/lldb/examples/python/symbolication.py index dac9305d269d..27f9f312cd65 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())