Fixed an exception when parsing crash logs.
llvm-svn: 156945
This commit is contained in:
@@ -421,7 +421,8 @@ class Interactive(cmd.Cmd):
|
|||||||
print image
|
print image
|
||||||
if matches_found == 0:
|
if matches_found == 0:
|
||||||
for (image_idx, image) in enumerate(crash_log.images):
|
for (image_idx, image) in enumerate(crash_log.images):
|
||||||
if string.find(image.get_resolved_path(), image_path) >= 0:
|
resolved_image_path = image.get_resolved_path()
|
||||||
|
if resolved_image_path and string.find(image.get_resolved_path(), image_path) >= 0:
|
||||||
print image
|
print image
|
||||||
else:
|
else:
|
||||||
for crash_log in self.crash_logs:
|
for crash_log in self.crash_logs:
|
||||||
|
|||||||
Reference in New Issue
Block a user