about summary refs log tree commit diff
path: root/src/etc/lldb_batchmode.py
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2016-04-18 15:45:45 -0700
committerAlex Crichton <alex@alexcrichton.com>2016-04-19 09:39:04 -0700
commit9db6a41687bacde82585f127b43d418d5845e5c7 (patch)
treec88aeae55828b73790253d96c176a35f7508471b /src/etc/lldb_batchmode.py
parent478a33dabc4e6f2f501f476c79b56178d9df4f37 (diff)
downloadrust-9db6a41687bacde82585f127b43d418d5845e5c7.tar.gz
rust-9db6a41687bacde82585f127b43d418d5845e5c7.zip
etc: Add debugger.Terminate() to lldb_batchmode.py
Right now on the most recent version of LLDB installed on OSX we'll segfault on
all the LLDB tests if this isn't called (unfortunately). Hopefully we've updated
LLDB on the bots to actually get this working everywhere!

Closes #32994
Diffstat (limited to 'src/etc/lldb_batchmode.py')
-rw-r--r--src/etc/lldb_batchmode.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/etc/lldb_batchmode.py b/src/etc/lldb_batchmode.py
index b1506285b3a..7bbb3577f8d 100644
--- a/src/etc/lldb_batchmode.py
+++ b/src/etc/lldb_batchmode.py
@@ -216,4 +216,5 @@ except IOError as e:
     print("Aborting.", file=sys.stderr)
     sys.exit(1)
 finally:
+    debugger.Terminate()
     script_file.close()