summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/finish-swig-Python-LLDB.sh
diff options
context:
space:
mode:
authorEnrico Granata <granata.enrico@gmail.com>2011-08-17 19:07:52 +0000
committerEnrico Granata <granata.enrico@gmail.com>2011-08-17 19:07:52 +0000
commit217f91fc57cb1067cad5358d74f44d6fc6075a57 (patch)
treea018ccbbffc7fd35da9771ee2d2a486fc45085dc /lldb/scripts/Python/finish-swig-Python-LLDB.sh
parent23594f6b4430bf525aa7351bda9d861290026d6d (diff)
downloadbcm5719-llvm-217f91fc57cb1067cad5358d74f44d6fc6075a57.tar.gz
bcm5719-llvm-217f91fc57cb1067cad5358d74f44d6fc6075a57.zip
New category "gnu-libstdc++" provides summary for std::string and synthetic children for types std::map, std::list and std::vector
The category is enabled by default. If you run into issues with it, disable it and the previous behavior of LLDB is restored ** This is a temporary solution. The general solution to having formatters pulled in at startup should involve going through the Platform. Fixed an issue in type synthetic list where a category with synthetic providers in it was not shown if all the providers were regex-based llvm-svn: 137850
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 762496adad5..36b547fe265 100755
--- a/lldb/scripts/Python/finish-swig-Python-LLDB.sh
+++ b/lldb/scripts/Python/finish-swig-Python-LLDB.sh
@@ -165,5 +165,20 @@ else
fi
fi
+# Copy the OSX C++ STL formatters over to the framework Python directory
+if [ -f "${SRC_ROOT}/source/osxcpp.py" ]
+then
+ if [ $Debug == 1 ]
+ then
+ echo "Copying osxcpp.py to ${framework_python_dir}"
+ fi
+ cp "${SRC_ROOT}/source/osxcpp.py" "${framework_python_dir}"
+else
+ if [ $Debug == 1 ]
+ then
+ echo "Unable to find ${SRC_ROOT}/source/osxcpp.py"
+ fi
+fi
+
exit 0
OpenPOWER on IntegriCloud