<div dir="ltr">Random thought: If you want to generate a core dump, we already have LLDB attached to the process, so you have an SBProcess.  Couldn't you use Process.Halt, then call whatever method is necessary to have the debugger create a core, then Process.Kill?</div><br><div class="gmail_quote"><div dir="ltr">On Mon, Sep 28, 2015 at 1:03 PM Zachary Turner <<a href="mailto:zturner@google.com">zturner@google.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">zturner added a comment.<br>
<br>
A few more comments<br>
<br>
<br>
================<br>
Comment at: test/test_runner/test/process_control_tests.py:63<br>
@@ +62,3 @@<br>
+    def _suppress_soft_terminate(cls, command):<br>
+        if platform.system() == 'nt':<br>
+            # Add whatever is needed to the command line to<br>
----------------<br>
Change `nt` to `Windows` (unless you're removing this logic as discussed earlier)<br>
<br>
================<br>
Comment at: test/test_runner/test/process_control_tests.py:80<br>
@@ +79,3 @@<br>
+        # Base command.<br>
+        command = (["python", "inferior.py"])<br>
+<br>
----------------<br>
Change `"python"` to `sys.executable`<br>
<br>
<br>
<a href="http://reviews.llvm.org/D13124" rel="noreferrer" target="_blank">http://reviews.llvm.org/D13124</a><br>
<br>
<br>
<br>
</blockquote></div>