shafik created this revision. shafik added reviewers: aprantl, jingham. Herald added a reviewer: serge-sans-paille.
The method find_matching_slice(self) uses `uuid_str` on one of the paths but the variable does not exist and so this results in a NameError exception if we take that path. https://reviews.llvm.org/D57467 Files: examples/python/crashlog.py Index: examples/python/crashlog.py =================================================================== --- examples/python/crashlog.py +++ examples/python/crashlog.py @@ -260,7 +260,7 @@ if not self.resolved_path: self.unavailable = True print("error\n error: unable to locate '%s' with UUID %s" - % (self.path, uuid_str)) + % (self.path, self.get_normalized_uuid_string())) return False def locate_module_and_debug_symbols(self):
Index: examples/python/crashlog.py =================================================================== --- examples/python/crashlog.py +++ examples/python/crashlog.py @@ -260,7 +260,7 @@ if not self.resolved_path: self.unavailable = True print("error\n error: unable to locate '%s' with UUID %s" - % (self.path, uuid_str)) + % (self.path, self.get_normalized_uuid_string())) return False def locate_module_and_debug_symbols(self):
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits