llvm-project/lldb
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
..
cmake Remove one more if(__ANDROID_NDK__) I missed 2016-12-05 14:57:19 +00:00
docs gdb-remote: Add jModulesInfo packet 2016-09-08 10:07:04 +00:00
examples Improve crashlog.py so it can handle more iOS crashlog files. 2016-12-08 00:22:45 +00:00
include/lldb Work around a bogus warning on MSVC. 2016-12-08 00:54:24 +00:00
lit [CMake] Fix standalone build 2016-10-21 18:38:44 +00:00
lldb.xcodeproj Remove ConnectionSharedMemory 2016-11-29 09:42:35 +00:00
lldb.xcworkspace Revert r275223, which committed the wrong thing. 2016-07-12 23:31:42 +00:00
packages/Python/lldbsuite When we interrupt a process, it was possible or the thread names 2016-12-08 06:27:29 +00:00
resources Bump the lldb version # in the xcode project files from 2016-03-15 04:36:11 +00:00
scripts Clean up some use of __ANDROID_NDK__ in the cmake files 2016-12-05 11:15:36 +00:00
source When we interrupt a process, it was possible or the thread names 2016-12-08 06:27:29 +00:00
test [CMake] Support LLDB_TEST_CLANG in check-lldb target(s) 2016-11-02 17:19:26 +00:00
third_party/Python/module *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
tools Increase timeout for Frontboard app launch request from 9 to 20 seconds 2016-12-08 05:12:45 +00:00
unittests [CMake] Don't add gtest if it is already there 2016-12-05 19:40:34 +00:00
utils *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
www Fix weak symbol linkage in SBStructuredData, update docs. 2016-11-09 23:21:04 +00:00
.arcconfig Upgrade all the .arcconfigs to https. 2016-07-14 13:15:37 +00:00
.clang-format Updated .clang-format rules so bring LLDB in line with LLVM standards. 2016-09-06 17:19:00 +00:00
.gitignore test infra: clear file-charged issues on rerun of file 2016-10-01 00:17:08 +00:00
CMakeLists.txt [CMake] Initial support for LLDB.framework 2016-09-21 21:02:16 +00:00
CODE_OWNERS.txt Removing myself from CODE_OWNERS, and distributing those duties among other members of the community 2016-11-18 23:18:11 +00:00
INSTALL.txt Revert the patch to Test Commit Access 2015-07-06 11:26:51 +00:00
LICENSE.TXT
use_lldb_suite_root.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00