summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/finish-swig-Python-LLDB.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/scripts/Python/finish-swig-Python-LLDB.sh')
-rwxr-xr-xlldb/scripts/Python/finish-swig-Python-LLDB.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/lldb/scripts/Python/finish-swig-Python-LLDB.sh b/lldb/scripts/Python/finish-swig-Python-LLDB.sh
index f8b3a004f29..690dbd0fb5d 100755
--- a/lldb/scripts/Python/finish-swig-Python-LLDB.sh
+++ b/lldb/scripts/Python/finish-swig-Python-LLDB.sh
@@ -184,6 +184,21 @@ else
fi
fi
+# Copy the ObjC formatters over to the framework Python directory
+if [ -f "${SRC_ROOT}/examples/synthetic/objc.py" ]
+then
+ if [ $Debug == 1 ]
+ then
+ echo "Copying objc.py to ${framework_python_dir}"
+ fi
+ cp "${SRC_ROOT}/examples/summaries/objc.py" "${framework_python_dir}"
+else
+ if [ $Debug == 1 ]
+ then
+ echo "Unable to find ${SRC_ROOT}/examples/summaries/objc.py"
+ fi
+fi
+
fi
exit 0
OpenPOWER on IntegriCloud