summaryrefslogtreecommitdiffstats
path: root/lldb/examples
diff options
context:
space:
mode:
authorShafik Yaghmour <syaghmour@apple.com>2019-01-31 17:33:17 +0000
committerShafik Yaghmour <syaghmour@apple.com>2019-01-31 17:33:17 +0000
commitd03bf06883a3384b574a0f467447c150b8057fa3 (patch)
tree4cca8b72dae9316644157b63162b1f6c135b9fe5 /lldb/examples
parentc1892ec15a354871a76bbd0cd7806bb132a5c426 (diff)
downloadbcm5719-llvm-d03bf06883a3384b574a0f467447c150b8057fa3.tar.gz
bcm5719-llvm-d03bf06883a3384b574a0f467447c150b8057fa3.zip
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 llvm-svn: 352772
Diffstat (limited to 'lldb/examples')
-rwxr-xr-xlldb/examples/python/crashlog.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/examples/python/crashlog.py b/lldb/examples/python/crashlog.py
index 7eb86db7ce0..540aca6cfba 100755
--- a/lldb/examples/python/crashlog.py
+++ b/lldb/examples/python/crashlog.py
@@ -260,7 +260,7 @@ class CrashLog(symbolication.Symbolicator):
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):
OpenPOWER on IntegriCloud