Filipe Cabecinhas | 3e9e081 | 2012-09-14 17:09:15 +0000 | [diff] [blame] | 1 | #!/bin/sh |
Chris Lattner | 30fdc8d | 2010-06-08 16:52:24 +0000 | [diff] [blame] | 2 | |
| 3 | # finish-swig-Python.sh |
| 4 | # |
| 5 | # For the Python script interpreter (external to liblldb) to be able to import |
Caroline Tice | d6ac384 | 2010-06-16 19:26:52 +0000 | [diff] [blame] | 6 | # and use the lldb module, there must be two files, lldb.py and _lldb.so, that |
| 7 | # it can find. lldb.py is generated by SWIG at the same time it generates the |
Filipe Cabecinhas | c281a3b | 2012-11-01 18:55:16 +0000 | [diff] [blame] | 8 | # C++ file. _lldb.so is actually a symlink file that points to the |
Caroline Tice | d6ac384 | 2010-06-16 19:26:52 +0000 | [diff] [blame] | 9 | # LLDB shared library/framework. |
| 10 | # |
Filipe Cabecinhas | c281a3b | 2012-11-01 18:55:16 +0000 | [diff] [blame] | 11 | # The Python script interpreter needs to be able to automatically find |
Caroline Tice | d6ac384 | 2010-06-16 19:26:52 +0000 | [diff] [blame] | 12 | # these two files. On Darwin systems it searches in the LLDB.framework, as |
| 13 | # well as in all the normal Python search paths. On non-Darwin systems |
| 14 | # these files will need to be put someplace where Python will find them. |
| 15 | # |
| 16 | # This shell script creates the _lldb.so symlink in the appropriate place, |
| 17 | # and copies the lldb.py (and embedded_interpreter.py) file to the correct |
| 18 | # directory. |
| 19 | # |
Chris Lattner | 30fdc8d | 2010-06-08 16:52:24 +0000 | [diff] [blame] | 20 | |
Caroline Tice | d6ac384 | 2010-06-16 19:26:52 +0000 | [diff] [blame] | 21 | # SRC_ROOT is the root of the lldb source tree. |
| 22 | # TARGET_DIR is where the lldb framework/shared library gets put. |
Filipe Cabecinhas | c281a3b | 2012-11-01 18:55:16 +0000 | [diff] [blame] | 23 | # CONFIG_BUILD_DIR is where the build-swig-Python-LLDB.sh shell script |
Caroline Tice | d6ac384 | 2010-06-16 19:26:52 +0000 | [diff] [blame] | 24 | # put the lldb.py file it was generated from running SWIG. |
| 25 | # PYTHON_INSTALL_DIR is where non-Darwin systems want to put the .py and .so |
| 26 | # files so that Python can find them automatically. |
Filipe Cabecinhas | c281a3b | 2012-11-01 18:55:16 +0000 | [diff] [blame] | 27 | # debug_flag (optional) determines whether or not this script outputs |
Caroline Tice | d6ac384 | 2010-06-16 19:26:52 +0000 | [diff] [blame] | 28 | # additional information when running. |
| 29 | |
| 30 | SRC_ROOT=$1 |
| 31 | TARGET_DIR=$2 |
| 32 | CONFIG_BUILD_DIR=$3 |
| 33 | PYTHON_INSTALL_DIR=$4 |
| 34 | debug_flag=$5 |
Filipe Cabecinhas | c281a3b | 2012-11-01 18:55:16 +0000 | [diff] [blame] | 35 | makefile_flag=$6 |
Caroline Tice | d6ac384 | 2010-06-16 19:26:52 +0000 | [diff] [blame] | 36 | |
Jim Ingham | de22182 | 2012-05-26 00:23:52 +0000 | [diff] [blame] | 37 | # If we don't want Python, then just do nothing here. |
| 38 | # Note, at present iOS doesn't have Python, so if you're building for iOS be sure to |
| 39 | # set LLDB_DISABLE_PYTHON to 1. |
| 40 | |
Filipe Cabecinhas | 3e9e081 | 2012-09-14 17:09:15 +0000 | [diff] [blame] | 41 | if [ ! "$LLDB_DISABLE_PYTHON" = "1" ] ; then |
Greg Clayton | dce502e | 2011-11-04 03:34:56 +0000 | [diff] [blame] | 42 | |
Jason Molenda | 47d114a | 2012-09-27 21:26:57 +0000 | [diff] [blame] | 43 | if [ -n "$debug_flag" -a "$debug_flag" = "-debug" ] |
Chris Lattner | 30fdc8d | 2010-06-08 16:52:24 +0000 | [diff] [blame] | 44 | then |
Caroline Tice | d6ac384 | 2010-06-16 19:26:52 +0000 | [diff] [blame] | 45 | Debug=1 |
| 46 | else |
| 47 | Debug=0 |
| 48 | fi |
| 49 | |
Filipe Cabecinhas | c281a3b | 2012-11-01 18:55:16 +0000 | [diff] [blame] | 50 | if [ -n "$makefile_flag" -a "$makefile_flag" = "-m" ] |
| 51 | then |
| 52 | MakefileCalled=1 |
| 53 | else |
| 54 | MakefileCalled=0 |
| 55 | fi |
| 56 | |
Caroline Tice | d6ac384 | 2010-06-16 19:26:52 +0000 | [diff] [blame] | 57 | OS_NAME=`uname -s` |
Ed Maste | 97b9dfa | 2014-04-24 16:18:21 +0000 | [diff] [blame] | 58 | PYTHON=${PYTHON_EXECUTABLE:-/usr/bin/env python} |
| 59 | PYTHON_VERSION=`${PYTHON} --version 2>&1 | sed -e 's,Python ,,' -e 's,[.][0-9],,2' -e 's,[a-z][a-z][0-9],,'` |
Caroline Tice | d6ac384 | 2010-06-16 19:26:52 +0000 | [diff] [blame] | 60 | |
| 61 | |
Jason Molenda | 47d114a | 2012-09-27 21:26:57 +0000 | [diff] [blame] | 62 | if [ $Debug -eq 1 ] |
Caroline Tice | d6ac384 | 2010-06-16 19:26:52 +0000 | [diff] [blame] | 63 | then |
| 64 | echo "The current OS is $OS_NAME" |
| 65 | echo "The Python version is $PYTHON_VERSION" |
| 66 | fi |
| 67 | |
Filipe Cabecinhas | c281a3b | 2012-11-01 18:55:16 +0000 | [diff] [blame] | 68 | if [ ${OS_NAME} = "Darwin" ] |
| 69 | then |
| 70 | SOEXT=".dylib" |
| 71 | else |
| 72 | SOEXT=".so" |
| 73 | fi |
| 74 | |
Caroline Tice | d6ac384 | 2010-06-16 19:26:52 +0000 | [diff] [blame] | 75 | # |
| 76 | # Determine where to put the files. |
| 77 | |
Filipe Cabecinhas | c281a3b | 2012-11-01 18:55:16 +0000 | [diff] [blame] | 78 | if [ $MakefileCalled -eq 0 ] |
Caroline Tice | d6ac384 | 2010-06-16 19:26:52 +0000 | [diff] [blame] | 79 | then |
Filipe Cabecinhas | c281a3b | 2012-11-01 18:55:16 +0000 | [diff] [blame] | 80 | # We are being built by Xcode, so all the lldb Python files can go |
Caroline Tice | d6ac384 | 2010-06-16 19:26:52 +0000 | [diff] [blame] | 81 | # into the LLDB.framework/Resources/Python subdirectory. |
| 82 | |
| 83 | if [ ! -d "${TARGET_DIR}/LLDB.framework" ] |
| 84 | then |
| 85 | echo "Error: Unable to find LLDB.framework" >&2 |
| 86 | exit 1 |
| 87 | else |
Jason Molenda | 47d114a | 2012-09-27 21:26:57 +0000 | [diff] [blame] | 88 | if [ $Debug -eq 1 ] |
Caroline Tice | d6ac384 | 2010-06-16 19:26:52 +0000 | [diff] [blame] | 89 | then |
| 90 | echo "Found ${TARGET_DIR}/LLDB.framework." |
| 91 | fi |
| 92 | fi |
| 93 | |
| 94 | # Make the Python directory in the framework if it doesn't already exist |
| 95 | |
Greg Clayton | 6d98f56 | 2012-04-25 00:58:03 +0000 | [diff] [blame] | 96 | framework_python_dir="${TARGET_DIR}/LLDB.framework/Resources/Python/lldb" |
Caroline Tice | d6ac384 | 2010-06-16 19:26:52 +0000 | [diff] [blame] | 97 | else |
Filipe Cabecinhas | c281a3b | 2012-11-01 18:55:16 +0000 | [diff] [blame] | 98 | # We are being built by LLVM, so use the PYTHON_INSTALL_DIR argument, |
Caroline Tice | d6ac384 | 2010-06-16 19:26:52 +0000 | [diff] [blame] | 99 | # and append the python version directory to the end of it. Depending on |
| 100 | # the system other stuff may need to be put here as well. |
| 101 | |
Filipe Cabecinhas | c281a3b | 2012-11-01 18:55:16 +0000 | [diff] [blame] | 102 | if [ -n "${PYTHON_INSTALL_DIR}" ] |
| 103 | then |
Ed Maste | 97b9dfa | 2014-04-24 16:18:21 +0000 | [diff] [blame] | 104 | framework_python_dir=`${PYTHON} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(True, False, \"${PYTHON_INSTALL_DIR}\");"`/lldb |
Filipe Cabecinhas | c281a3b | 2012-11-01 18:55:16 +0000 | [diff] [blame] | 105 | else |
Ed Maste | 97b9dfa | 2014-04-24 16:18:21 +0000 | [diff] [blame] | 106 | framework_python_dir=`${PYTHON} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(True, False);"`/lldb |
Filipe Cabecinhas | c281a3b | 2012-11-01 18:55:16 +0000 | [diff] [blame] | 107 | fi |
Caroline Tice | d6ac384 | 2010-06-16 19:26:52 +0000 | [diff] [blame] | 108 | fi |
| 109 | |
Filipe Cabecinhas | c281a3b | 2012-11-01 18:55:16 +0000 | [diff] [blame] | 110 | [ -n "${CONFIG_BUILD_DIR}" ] || CONFIG_BUILD_DIR=${framework_python_dir} |
| 111 | |
Caroline Tice | d6ac384 | 2010-06-16 19:26:52 +0000 | [diff] [blame] | 112 | # |
| 113 | # Look for the directory in which to put the Python files; if it does not |
| 114 | # already exist, attempt to make it. |
| 115 | # |
| 116 | |
Jason Molenda | 47d114a | 2012-09-27 21:26:57 +0000 | [diff] [blame] | 117 | if [ $Debug -eq 1 ] |
Caroline Tice | d6ac384 | 2010-06-16 19:26:52 +0000 | [diff] [blame] | 118 | then |
| 119 | echo "Python files will be put in ${framework_python_dir}" |
| 120 | fi |
| 121 | |
Greg Clayton | 6d98f56 | 2012-04-25 00:58:03 +0000 | [diff] [blame] | 122 | python_dirs="${framework_python_dir}" |
Caroline Tice | d6ac384 | 2010-06-16 19:26:52 +0000 | [diff] [blame] | 123 | |
Greg Clayton | 6d98f56 | 2012-04-25 00:58:03 +0000 | [diff] [blame] | 124 | for python_dir in $python_dirs |
| 125 | do |
| 126 | if [ ! -d "${python_dir}" ] |
| 127 | then |
Jason Molenda | 47d114a | 2012-09-27 21:26:57 +0000 | [diff] [blame] | 128 | if [ $Debug -eq 1 ] |
Greg Clayton | 6d98f56 | 2012-04-25 00:58:03 +0000 | [diff] [blame] | 129 | then |
| 130 | echo "Making directory ${python_dir}" |
| 131 | fi |
| 132 | mkdir -p "${python_dir}" |
| 133 | else |
Jason Molenda | 47d114a | 2012-09-27 21:26:57 +0000 | [diff] [blame] | 134 | if [ $Debug -eq 1 ] |
Greg Clayton | 6d98f56 | 2012-04-25 00:58:03 +0000 | [diff] [blame] | 135 | then |
| 136 | echo "${python_dir} already exists." |
| 137 | fi |
| 138 | fi |
| 139 | |
| 140 | if [ ! -d "${python_dir}" ] |
| 141 | then |
| 142 | echo "Error: Unable to find or create ${python_dir}" >&2 |
| 143 | exit 1 |
| 144 | fi |
| 145 | done |
Chris Lattner | 30fdc8d | 2010-06-08 16:52:24 +0000 | [diff] [blame] | 146 | |
Caroline Tice | d6ac384 | 2010-06-16 19:26:52 +0000 | [diff] [blame] | 147 | # Make the symlink that the script bridge for Python will need in the |
| 148 | # Python framework directory |
Chris Lattner | 30fdc8d | 2010-06-08 16:52:24 +0000 | [diff] [blame] | 149 | |
Chris Lattner | 30fdc8d | 2010-06-08 16:52:24 +0000 | [diff] [blame] | 150 | if [ ! -L "${framework_python_dir}/_lldb.so" ] |
| 151 | then |
Jason Molenda | 47d114a | 2012-09-27 21:26:57 +0000 | [diff] [blame] | 152 | if [ $Debug -eq 1 ] |
Caroline Tice | d6ac384 | 2010-06-16 19:26:52 +0000 | [diff] [blame] | 153 | then |
| 154 | echo "Creating symlink for _lldb.so" |
| 155 | fi |
Filipe Cabecinhas | c281a3b | 2012-11-01 18:55:16 +0000 | [diff] [blame] | 156 | cd "${framework_python_dir}" |
| 157 | if [ $MakefileCalled -eq 0 ] |
Caroline Tice | d6ac384 | 2010-06-16 19:26:52 +0000 | [diff] [blame] | 158 | then |
Greg Clayton | 6d98f56 | 2012-04-25 00:58:03 +0000 | [diff] [blame] | 159 | ln -s "../../../LLDB" _lldb.so |
Deepak Panickal | 9b35cf5 | 2014-07-01 17:57:19 +0000 | [diff] [blame] | 160 | else |
Filipe Cabecinhas | c281a3b | 2012-11-01 18:55:16 +0000 | [diff] [blame] | 161 | ln -s "../../../liblldb${SOEXT}" _lldb.so |
Caroline Tice | d6ac384 | 2010-06-16 19:26:52 +0000 | [diff] [blame] | 162 | fi |
| 163 | else |
Jason Molenda | 47d114a | 2012-09-27 21:26:57 +0000 | [diff] [blame] | 164 | if [ $Debug -eq 1 ] |
Caroline Tice | d6ac384 | 2010-06-16 19:26:52 +0000 | [diff] [blame] | 165 | then |
| 166 | echo "${framework_python_dir}/_lldb.so already exists." |
| 167 | fi |
Chris Lattner | 30fdc8d | 2010-06-08 16:52:24 +0000 | [diff] [blame] | 168 | fi |
| 169 | |
Chris Lattner | 30fdc8d | 2010-06-08 16:52:24 +0000 | [diff] [blame] | 170 | |
Filipe Cabecinhas | 3e9e081 | 2012-09-14 17:09:15 +0000 | [diff] [blame] | 171 | create_python_package () { |
Greg Clayton | 6d98f56 | 2012-04-25 00:58:03 +0000 | [diff] [blame] | 172 | package_dir="${framework_python_dir}$1" |
| 173 | package_files="$2" |
Enrico Granata | 7d22221 | 2012-04-25 17:53:41 +0000 | [diff] [blame] | 174 | package_name=`echo $1 | tr '/' '.'` |
| 175 | package_name="lldb${package_name}" |
Chris Lattner | 30fdc8d | 2010-06-08 16:52:24 +0000 | [diff] [blame] | 176 | |
Greg Clayton | 6d98f56 | 2012-04-25 00:58:03 +0000 | [diff] [blame] | 177 | if [ ! -d "${package_dir}" ] |
Enrico Granata | 217f91f | 2011-08-17 19:07:52 +0000 | [diff] [blame] | 178 | then |
Greg Clayton | 6d98f56 | 2012-04-25 00:58:03 +0000 | [diff] [blame] | 179 | mkdir -p "${package_dir}" |
Enrico Granata | 217f91f | 2011-08-17 19:07:52 +0000 | [diff] [blame] | 180 | fi |
Enrico Granata | 217f91f | 2011-08-17 19:07:52 +0000 | [diff] [blame] | 181 | |
Greg Clayton | 6d98f56 | 2012-04-25 00:58:03 +0000 | [diff] [blame] | 182 | for package_file in $package_files |
| 183 | do |
| 184 | if [ -f "${package_file}" ] |
| 185 | then |
| 186 | cp "${package_file}" "${package_dir}" |
| 187 | package_file_basename=$(basename "${package_file}") |
| 188 | fi |
| 189 | done |
Enrico Granata | c7f8730 | 2012-03-12 19:47:17 +0000 | [diff] [blame] | 190 | |
Enrico Granata | bac45f6 | 2012-01-31 17:01:51 +0000 | [diff] [blame] | 191 | |
Greg Clayton | 6d98f56 | 2012-04-25 00:58:03 +0000 | [diff] [blame] | 192 | # Create a packate init file if there wasn't one |
| 193 | package_init_file="${package_dir}/__init__.py" |
| 194 | if [ ! -f "${package_init_file}" ] |
Enrico Granata | d3d444f | 2012-02-23 23:10:03 +0000 | [diff] [blame] | 195 | then |
Filipe Cabecinhas | 45f0c66 | 2013-01-30 00:48:11 +0000 | [diff] [blame] | 196 | printf "__all__ = [" > "${package_init_file}" |
Greg Clayton | 6d98f56 | 2012-04-25 00:58:03 +0000 | [diff] [blame] | 197 | python_module_separator="" |
| 198 | for package_file in $package_files |
| 199 | do |
| 200 | if [ -f "${package_file}" ] |
| 201 | then |
| 202 | package_file_basename=$(basename "${package_file}") |
Filipe Cabecinhas | 45f0c66 | 2013-01-30 00:48:11 +0000 | [diff] [blame] | 203 | printf "${python_module_separator}\"${package_file_basename%.*}\"" >> "${package_init_file}" |
Greg Clayton | 6d98f56 | 2012-04-25 00:58:03 +0000 | [diff] [blame] | 204 | python_module_separator=", " |
| 205 | fi |
| 206 | done |
| 207 | echo "]" >> "${package_init_file}" |
Enrico Granata | 7d22221 | 2012-04-25 17:53:41 +0000 | [diff] [blame] | 208 | echo "for x in __all__:" >> "${package_init_file}" |
| 209 | echo " __import__('${package_name}.'+x)" >> "${package_init_file}" |
Enrico Granata | d3d444f | 2012-02-23 23:10:03 +0000 | [diff] [blame] | 210 | fi |
Enrico Granata | d3d444f | 2012-02-23 23:10:03 +0000 | [diff] [blame] | 211 | |
Enrico Granata | d3d444f | 2012-02-23 23:10:03 +0000 | [diff] [blame] | 212 | |
Greg Clayton | 6d98f56 | 2012-04-25 00:58:03 +0000 | [diff] [blame] | 213 | } |
Enrico Granata | d3d444f | 2012-02-23 23:10:03 +0000 | [diff] [blame] | 214 | |
Greg Clayton | 6d98f56 | 2012-04-25 00:58:03 +0000 | [diff] [blame] | 215 | # Copy the lldb.py file into the lldb package directory and rename to __init_.py |
| 216 | cp "${CONFIG_BUILD_DIR}/lldb.py" "${framework_python_dir}/__init__.py" |
Enrico Granata | d3d444f | 2012-02-23 23:10:03 +0000 | [diff] [blame] | 217 | |
Greg Clayton | 6d98f56 | 2012-04-25 00:58:03 +0000 | [diff] [blame] | 218 | # lldb |
| 219 | package_files="${SRC_ROOT}/source/Interpreter/embedded_interpreter.py" |
| 220 | create_python_package "" "${package_files}" |
Enrico Granata | d3d444f | 2012-02-23 23:10:03 +0000 | [diff] [blame] | 221 | |
Greg Clayton | 6d98f56 | 2012-04-25 00:58:03 +0000 | [diff] [blame] | 222 | # lldb/formatters/cpp |
| 223 | package_files="${SRC_ROOT}/examples/synthetic/gnu_libstdcpp.py |
| 224 | ${SRC_ROOT}/examples/synthetic/libcxx.py" |
| 225 | create_python_package "/formatters/cpp" "${package_files}" |
Enrico Granata | d3d444f | 2012-02-23 23:10:03 +0000 | [diff] [blame] | 226 | |
Enrico Granata | 5b4ab4c | 2012-04-25 01:26:37 +0000 | [diff] [blame] | 227 | # make an empty __init__.py in lldb/runtime |
| 228 | # this is required for Python to recognize lldb.runtime as a valid package |
| 229 | # (and hence, lldb.runtime.objc as a valid contained package) |
| 230 | create_python_package "/runtime" "" |
| 231 | |
Greg Clayton | 6d98f56 | 2012-04-25 00:58:03 +0000 | [diff] [blame] | 232 | # lldb/formatters |
Enrico Granata | 5b4ab4c | 2012-04-25 01:26:37 +0000 | [diff] [blame] | 233 | # having these files copied here ensures that lldb/formatters is a valid package itself |
Greg Clayton | 6d98f56 | 2012-04-25 00:58:03 +0000 | [diff] [blame] | 234 | package_files="${SRC_ROOT}/examples/summaries/cocoa/cache.py |
| 235 | ${SRC_ROOT}/examples/summaries/cocoa/metrics.py |
| 236 | ${SRC_ROOT}/examples/summaries/cocoa/attrib_fromdict.py |
| 237 | ${SRC_ROOT}/examples/summaries/cocoa/Logger.py" |
| 238 | create_python_package "/formatters" "${package_files}" |
Enrico Granata | d3d444f | 2012-02-23 23:10:03 +0000 | [diff] [blame] | 239 | |
Greg Clayton | 6d98f56 | 2012-04-25 00:58:03 +0000 | [diff] [blame] | 240 | # lldb/utils |
| 241 | package_files="${SRC_ROOT}/examples/python/symbolication.py" |
| 242 | create_python_package "/utils" "${package_files}" |
Enrico Granata | d3d444f | 2012-02-23 23:10:03 +0000 | [diff] [blame] | 243 | |
Jason Molenda | 47d114a | 2012-09-27 21:26:57 +0000 | [diff] [blame] | 244 | if [ ${OS_NAME} = "Darwin" ] |
Greg Clayton | ed3eee6 | 2012-04-25 01:49:50 +0000 | [diff] [blame] | 245 | then |
| 246 | # lldb/macosx |
| 247 | package_files="${SRC_ROOT}/examples/python/crashlog.py |
Jason Molenda | f7305a61 | 2013-04-30 03:03:06 +0000 | [diff] [blame] | 248 | ${SRC_ROOT}/examples/darwin/heap_find/heap.py" |
Greg Clayton | ed3eee6 | 2012-04-25 01:49:50 +0000 | [diff] [blame] | 249 | create_python_package "/macosx" "${package_files}" |
Enrico Granata | 7bc0ec3 | 2012-02-29 03:28:49 +0000 | [diff] [blame] | 250 | |
Jason Molenda | f7305a61 | 2013-04-30 03:03:06 +0000 | [diff] [blame] | 251 | # lldb/diagnose |
Enrico Granata | a5c0308 | 2013-05-30 23:36:47 +0000 | [diff] [blame] | 252 | package_files="${SRC_ROOT}/examples/python/diagnose_unwind.py |
| 253 | ${SRC_ROOT}/examples/python/diagnose_nsstring.py" |
Jason Molenda | f7305a61 | 2013-04-30 03:03:06 +0000 | [diff] [blame] | 254 | create_python_package "/diagnose" "${package_files}" |
| 255 | |
Greg Clayton | ed3eee6 | 2012-04-25 01:49:50 +0000 | [diff] [blame] | 256 | # Copy files needed by lldb/macosx/heap.py to build libheap.dylib |
| 257 | heap_dir="${framework_python_dir}/macosx/heap" |
| 258 | if [ ! -d "${heap_dir}" ] |
| 259 | then |
| 260 | mkdir -p "${heap_dir}" |
| 261 | cp "${SRC_ROOT}/examples/darwin/heap_find/heap/heap_find.cpp" "${heap_dir}" |
| 262 | cp "${SRC_ROOT}/examples/darwin/heap_find/heap/Makefile" "${heap_dir}" |
| 263 | fi |
| 264 | fi |
Enrico Granata | d3d444f | 2012-02-23 23:10:03 +0000 | [diff] [blame] | 265 | |
Greg Clayton | dce502e | 2011-11-04 03:34:56 +0000 | [diff] [blame] | 266 | fi |
Greg Clayton | ed3eee6 | 2012-04-25 01:49:50 +0000 | [diff] [blame] | 267 | |
Chris Lattner | 30fdc8d | 2010-06-08 16:52:24 +0000 | [diff] [blame] | 268 | exit 0 |
Caroline Tice | d6ac384 | 2010-06-16 19:26:52 +0000 | [diff] [blame] | 269 | |