summaryrefslogtreecommitdiffstats
path: root/lldb/examples/summaries/cocoa/Class.py
diff options
context:
space:
mode:
authorEnrico Granata <egranata@apple.com>2012-04-25 01:39:27 +0000
committerEnrico Granata <egranata@apple.com>2012-04-25 01:39:27 +0000
commit28399adad81b53c5d5bab1b2db967ca33c92c2c2 (patch)
treef83813732680e2cf8fdd9a638d4ca3f07da96584 /lldb/examples/summaries/cocoa/Class.py
parent5b4ab4c848f13458e6f3a405df8f1e45eb120d7e (diff)
downloadbcm5719-llvm-28399adad81b53c5d5bab1b2db967ca33c92c2c2.tar.gz
bcm5719-llvm-28399adad81b53c5d5bab1b2db967ca33c92c2c2.zip
Making the Cocoa formatters comply with the new on-disk layout of the Python resources - This is one of the steps towards making the data formatters work again
llvm-svn: 155526
Diffstat (limited to 'lldb/examples/summaries/cocoa/Class.py')
-rw-r--r--lldb/examples/summaries/cocoa/Class.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/examples/summaries/cocoa/Class.py b/lldb/examples/summaries/cocoa/Class.py
index d572312b8a9..15fb7cb8143 100644
--- a/lldb/examples/summaries/cocoa/Class.py
+++ b/lldb/examples/summaries/cocoa/Class.py
@@ -6,11 +6,11 @@ This file is distributed under the University of Illinois Open Source
License. See LICENSE.TXT for details.
"""
import lldb
-import objc_runtime
-import Logger
+import lldb.runtime.objc.objc_runtime
+import lldb.formatters.Logger
def Class_Summary(valobj,dict):
- logger = Logger.Logger()
+ logger = lldb.formatters.Logger.Logger()
runtime = objc_runtime.ObjCRuntime.runtime_from_isa(valobj)
if runtime == None or not runtime.is_valid():
return '<error: unknown Class>'
OpenPOWER on IntegriCloud