summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/finish-swig-Python-LLDB.sh
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2013-04-30 03:03:06 +0000
committerJason Molenda <jmolenda@apple.com>2013-04-30 03:03:06 +0000
commitf7305a610309f353481d44bba0fbc090fbe521c9 (patch)
treeb4ab183953ccc22814d49142ff78a8db6fb5f2a8 /lldb/scripts/Python/finish-swig-Python-LLDB.sh
parentd00c2765aa6a53e3e15a7f13637c266deffee5a0 (diff)
downloadbcm5719-llvm-f7305a610309f353481d44bba0fbc090fbe521c9.tar.gz
bcm5719-llvm-f7305a610309f353481d44bba0fbc090fbe521c9.zip
Rename unwind_diagnose.py to diagnose_unwind.py. Change
finish-swig-Python-LLDB.sh to create a new lldb.diagnose subdirectory in the LLDB framework; the first diagnostic command in this directory is diagnose-unwind. There may be others added in the future. Users can load these diagnostic tools into their session with "script import lldb.diagnose". llvm-svn: 180768
Diffstat (limited to 'lldb/scripts/Python/finish-swig-Python-LLDB.sh')
-rwxr-xr-xlldb/scripts/Python/finish-swig-Python-LLDB.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/lldb/scripts/Python/finish-swig-Python-LLDB.sh b/lldb/scripts/Python/finish-swig-Python-LLDB.sh
index c9818f89795..d057ba95e55 100755
--- a/lldb/scripts/Python/finish-swig-Python-LLDB.sh
+++ b/lldb/scripts/Python/finish-swig-Python-LLDB.sh
@@ -244,10 +244,13 @@ if [ ${OS_NAME} = "Darwin" ]
then
# lldb/macosx
package_files="${SRC_ROOT}/examples/python/crashlog.py
- ${SRC_ROOT}/examples/darwin/heap_find/heap.py
- ${SRC_ROOT}/examples/python/unwind_diagnose.py"
+ ${SRC_ROOT}/examples/darwin/heap_find/heap.py"
create_python_package "/macosx" "${package_files}"
+ # lldb/diagnose
+ package_files="${SRC_ROOT}/examples/python/diagnose_unwind.py"
+ create_python_package "/diagnose" "${package_files}"
+
# Copy files needed by lldb/macosx/heap.py to build libheap.dylib
heap_dir="${framework_python_dir}/macosx/heap"
if [ ! -d "${heap_dir}" ]
OpenPOWER on IntegriCloud