hanchenye-llvm-project/lldb/packages/Python/lldbsuite
Jason Molenda b3a3cd1f4e When we interrupt a process, it was possible or the thread names
to not be set by Process::WillPublicStop() so the driver won't get
access to them.  The fix is straightforward, moving the call to
WillPublicStop above the early return for the interrupt case.  (the
interrupt case does an early return because the rest of the function
is concerned with running stop hooks etc and those are not applicable
when we've interrupted the process).

Also added a test case for it.  The test case is a little complicated
because I needed to drive lldb asynchronously to give the program
a chance to get up and running before I interrupt it.  Running to
a breakpoint was not sufficient to catch this bug.

<rdar://problem/22693778> 

llvm-svn: 289026
2016-12-08 06:27:29 +00:00
..
pre_kill_hook added Linux support for test timeout sampling 2016-09-26 20:25:47 +00:00
support *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
test When we interrupt a process, it was possible or the thread names 2016-12-08 06:27:29 +00:00
test_event test infra: clear file-charged issues on rerun of file 2016-10-01 00:17:08 +00:00
.clang-format Updated .clang-format rules so bring LLDB in line with LLVM standards. 2016-09-06 17:19:00 +00:00
__init__.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00