diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2023-06-06 15:18:14 -0700 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2023-06-06 15:20:53 -0700 |
commit | a10019a496d420769d7aae94f234ab6cf9fd778d (patch) | |
tree | 77b607e68062b327b269d6888b4693334d89bb9a /lldb/examples/python/crashlog.py | |
parent | 087411010422ae50f412c74d3b1eeff0b680e74b (diff) | |
download | llvm-a10019a496d420769d7aae94f234ab6cf9fd778d.zip llvm-a10019a496d420769d7aae94f234ab6cf9fd778d.tar.gz llvm-a10019a496d420769d7aae94f234ab6cf9fd778d.tar.bz2 |
[lldb] Fix "NameError: name 'self' is not defined" when using crashlog -c
This fixes a regression introduced by 27f27d15f6c9 that results in a
NameError: (name 'self' is not defined) when using crashlog with the -c
option.
rdar://110007391
Diffstat (limited to 'lldb/examples/python/crashlog.py')
-rwxr-xr-x | lldb/examples/python/crashlog.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/examples/python/crashlog.py b/lldb/examples/python/crashlog.py index 36825b0..ea197e4 100755 --- a/lldb/examples/python/crashlog.py +++ b/lldb/examples/python/crashlog.py @@ -1307,7 +1307,7 @@ def SymbolicateCrashLog(crash_log, options): for thread in crash_log.threads: if thread.did_crash(): for ident in thread.idents: - for image in self.crashlog.find_images_with_identifier(ident): + for image in crash_log.find_images_with_identifier(ident): image.resolve = True futures = [] |