llvm-project/lldb/source
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
..
API Use Timeout<> in EvaluateExpressionOptions class 2016-12-06 11:24:51 +00:00
Breakpoint Re-add "demonstrate new Args API" 2016-11-22 17:10:15 +00:00
Commands Convert CommandObjectFrame to entry-based Args access. 2016-12-08 02:02:09 +00:00
Core Use Timeout<> in the Listener class 2016-11-30 10:41:42 +00:00
DataFormatters [lldb] Fix typos in file headers 2016-11-26 05:23:44 +00:00
Expression Use Timeout<> in EvaluateExpressionOptions class 2016-12-06 11:24:51 +00:00
Host Remove superfluous android include 2016-12-05 14:57:23 +00:00
Initialization *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
Interpreter Use Timeout<> in EvaluateExpressionOptions class 2016-12-06 11:24:51 +00:00
Plugins Set the address size based on the target's arch instead 2016-12-08 02:02:45 +00:00
Symbol [lldb] Fix typos in file headers 2016-11-26 05:23:44 +00:00
Target When we interrupt a process, it was possible or the thread names 2016-12-08 06:27:29 +00:00
Utility Replace __ANDROID_NDK__ with __ANDROID__ 2016-12-02 11:15:15 +00:00
CMakeLists.txt [CMake] Fixing CMake to append source properties instead of overwrite them. 2016-11-10 23:56:32 +00:00
lldb.cpp One more cleanup to lldb version printing 2016-11-14 22:43:08 +00:00