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/NSDate.py b/lldb/examples/summaries/cocoa/NSDate.py
index 3a7f26f..082cd19 100644
--- a/lldb/examples/summaries/cocoa/NSDate.py
+++ b/lldb/examples/summaries/cocoa/NSDate.py
@@ -190,7 +190,7 @@
def GetSummary_Impl(valobj):
logger = lldb.formatters.Logger.Logger()
global statistics
- class_data,wrapper = objc_runtime.Utilities.prepare_class_detection(valobj,statistics)
+ class_data,wrapper =lldb.runtime.objc.objc_runtime.Utilities.prepare_class_detection(valobj,statistics)
if wrapper:
return wrapper
@@ -220,7 +220,7 @@
logger = lldb.formatters.Logger.Logger()
provider = GetSummary_Impl(valobj);
if provider != None:
- if isinstance(provider,objc_runtime.SpecialSituation_Description):
+ if isinstance(provider,lldb.runtime.objc.objc_runtime.SpecialSituation_Description):
return provider.message()
try:
summary = provider.value();
@@ -235,7 +235,7 @@
logger = lldb.formatters.Logger.Logger()
provider = GetSummary_Impl(valobj);
if provider != None:
- if isinstance(provider,objc_runtime.SpecialSituation_Description):
+ if isinstance(provider,lldb.runtime.objc.objc_runtime.SpecialSituation_Description):
return provider.message()
try:
summary = provider.timezone();