Skip to content

Commit 496a357

Browse files
committed
Fix use of non-existing variable in crashlog.py
Summary: 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. Differential Revision: https://reviews.llvm.org/D57467 git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@352772 91177308-0d34-0410-b5e6-96231b3b80d8 (cherry picked from commit cf4db884f6adf7f1a6901469656a803ae30a0ee7) apple-llvm-split-commit: a99d4f2befe36cc0d277236517c5a98fabe6881d apple-llvm-split-dir: lldb/
1 parent db850c6 commit 496a357

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/examples/python/crashlog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ def find_matching_slice(self):
260260
if not self.resolved_path:
261261
self.unavailable = True
262262
print("error\n error: unable to locate '%s' with UUID %s"
263-
% (self.path, uuid_str))
263+
% (self.path, self.get_normalized_uuid_string()))
264264
return False
265265

266266
def locate_module_and_debug_symbols(self):

0 commit comments

Comments
 (0)