From bac45f610df116976a01ca7d84e4090e0537811b Mon Sep 17 00:00:00 2001 From: Enrico Granata Date: Tue, 31 Jan 2012 17:01:51 +0000 Subject: This commit provides a new default summary for Objective-C boolean variables, which shows YES or NO instead of the character value. A new category named objc is added to contain this summary provider. Any future Objective-C related formatters would probably fit here llvm-svn: 149388 --- lldb/scripts/Python/finish-swig-Python-LLDB.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'lldb/scripts/Python') 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 -- cgit v1.2.3