diff options
author | Enrico Granata <egranata@apple.com> | 2016-08-30 23:00:02 +0000 |
---|---|---|
committer | Enrico Granata <egranata@apple.com> | 2016-08-30 23:00:02 +0000 |
commit | 42ff957e257c93b9f0ed3450b7f2ca107fb823d8 (patch) | |
tree | 4723f902e2cc43b18c831cf45603e1b63d9ebf58 /lldb/scripts/Python/finish-swig-Python-LLDB.sh | |
parent | d01704b149df0eecd294019485d46699010c4a2f (diff) | |
download | bcm5719-llvm-42ff957e257c93b9f0ed3450b7f2ca107fb823d8.tar.gz bcm5719-llvm-42ff957e257c93b9f0ed3450b7f2ca107fb823d8.zip |
Add an helper class lldb.formatters.synth.PythonObjectSyntheticChildProvider
This class enables one to easily write a synthetic child provider by writing a class that returns pairs of names and primitive Python values - the base class then converts those into LLDB SBValues
Comes with a test case
llvm-svn: 280172
Diffstat (limited to 'lldb/scripts/Python/finish-swig-Python-LLDB.sh')
-rwxr-xr-x | lldb/scripts/Python/finish-swig-Python-LLDB.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/scripts/Python/finish-swig-Python-LLDB.sh b/lldb/scripts/Python/finish-swig-Python-LLDB.sh index 92b99181c7c..f294b6429bd 100755 --- a/lldb/scripts/Python/finish-swig-Python-LLDB.sh +++ b/lldb/scripts/Python/finish-swig-Python-LLDB.sh @@ -273,6 +273,7 @@ create_python_package "/runtime" "" # lldb/formatters # having these files copied here ensures that lldb/formatters is a valid package itself package_files="${SRC_ROOT}/examples/summaries/cocoa/cache.py +${SRC_ROOT}/examples/summaries/synth.py ${SRC_ROOT}/examples/summaries/cocoa/metrics.py ${SRC_ROOT}/examples/summaries/cocoa/attrib_fromdict.py ${SRC_ROOT}/examples/summaries/cocoa/Logger.py" |