summaryrefslogtreecommitdiffstats
path: root/lldb/examples/summaries/cocoa/NSMachPort.py
diff options
context:
space:
mode:
authorEnrico Granata <egranata@apple.com>2012-04-25 17:53:41 +0000
committerEnrico Granata <egranata@apple.com>2012-04-25 17:53:41 +0000
commit7d2222175914bee03d2aa191427d6c397cc2d617 (patch)
tree36f6ef4991f38a8ac53544debe12b3f59edfcab1 /lldb/examples/summaries/cocoa/NSMachPort.py
parent4ff88c67e0f4904d0f99c97e5b348cd202fca3e3 (diff)
downloadbcm5719-llvm-7d2222175914bee03d2aa191427d6c397cc2d617.tar.gz
bcm5719-llvm-7d2222175914bee03d2aa191427d6c397cc2d617.zip
Returning data formatters to their previous working condition - Plus fixing an issue that was preventing Python oneliners from executing
llvm-svn: 155563
Diffstat (limited to 'lldb/examples/summaries/cocoa/NSMachPort.py')
-rw-r--r--lldb/examples/summaries/cocoa/NSMachPort.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/examples/summaries/cocoa/NSMachPort.py b/lldb/examples/summaries/cocoa/NSMachPort.py
index a4f32fc67c9..ecb4b7590ca 100644
--- a/lldb/examples/summaries/cocoa/NSMachPort.py
+++ b/lldb/examples/summaries/cocoa/NSMachPort.py
@@ -85,7 +85,7 @@ class NSMachPortUnknown_SummaryProvider:
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
@@ -104,7 +104,7 @@ def NSMachPort_SummaryProvider (valobj,dict):
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.port();
OpenPOWER on IntegriCloud