Returning data formatters to their previous working condition - Plus fixing an issue that was preventing Python oneliners from executing
llvm-svn: 155563
diff --git a/lldb/examples/summaries/cocoa/CFArray.py b/lldb/examples/summaries/cocoa/CFArray.py
index 45d18b5..da2b6ae 100644
--- a/lldb/examples/summaries/cocoa/CFArray.py
+++ b/lldb/examples/summaries/cocoa/CFArray.py
@@ -152,10 +152,10 @@
logger = lldb.formatters.Logger.Logger()
if self.valobj.GetValueAsUnsigned() == 0:
self.error = True
- return objc_runtime.InvalidPointer_Description(True)
+ returnlldb.runtime.objc.objc_runtime.InvalidPointer_Description(True)
else:
global statistics
- class_data,wrapper = objc_runtime.Utilities.prepare_class_detection(self.valobj,statistics)
+ class_data,wrapper =lldb.runtime.objc.objc_runtime.Utilities.prepare_class_detection(self.valobj,statistics)
if wrapper:
self.error = True
return wrapper