diff options
Diffstat (limited to 'lldb/examples/summaries/objc.py')
-rw-r--r-- | lldb/examples/summaries/objc.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lldb/examples/summaries/objc.py b/lldb/examples/summaries/objc.py new file mode 100644 index 00000000000..33dc7d14bb8 --- /dev/null +++ b/lldb/examples/summaries/objc.py @@ -0,0 +1,9 @@ +# Summaries for common ObjC types that require Python scripting +# to be generated fit into this file + +def BOOL_SummaryProvider (valobj,dict): + if valobj.GetValueAsUnsigned() == 0: + return "NO" + else: + return "YES" + |