diff options
Diffstat (limited to 'lldb/examples/python/symbolication.py')
-rwxr-xr-x | lldb/examples/python/symbolication.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lldb/examples/python/symbolication.py b/lldb/examples/python/symbolication.py index 8fc1f2121bb..d5215ad922d 100755 --- a/lldb/examples/python/symbolication.py +++ b/lldb/examples/python/symbolication.py @@ -447,6 +447,12 @@ class Symbolicator: for image in self.images: if image.identifier == identifier: images.append(image) + if len(images) == 0: + regex_text = '^.*\.%s$' % (identifier) + regex = re.compile(regex_text) + for image in self.images: + if regex.match(image.identifier): + images.append(image) return images def find_image_containing_load_addr(self, load_addr): |