hanchenye-llvm-project/lldb/source/Plugins
Greg Clayton e4e45924d7 Made the darwin host layer properly reap any child processes that it spawns.
After recent changes we weren't reaping child processes resulting in many
zombie processes. 

This was fixed by adding more settings to the ProcessLaunchOptions class
that allow clients to specify a callback function and baton to be notified
when their process dies. If one is not supplied a default callback will be
used that "does the right thing". 

Cleaned up a race condition in the ProcessGDBRemote class that would attempt
to monitor when debugserver died. 

Added an extra boolean to the process monitor callbacks that indicate if a
process exited or not. If your process exited with a zero exit status and no
signal, both items could be zero.

Modified the process monitor functions to not require a callback function
in order to reap the child process.

llvm-svn: 144780
2011-11-16 05:37:56 +00:00
..
ABI
Disassembler/llvm warnings: Fix a bunch of -Wreorder problems. 2011-10-31 22:50:49 +00:00
DynamicLoader Fixed the Xcode project building of LLVM to be a bit more user friendly: 2011-11-04 03:34:56 +00:00
Instruction/ARM Fixed some warnings after enabling some stricter warnings in the Xcode project 2011-10-31 23:51:19 +00:00
LanguageRuntime Enhanced the ObjC DynamicCheckerFunction to test for "object responds to selector" as well as 2011-11-01 02:46:54 +00:00
ObjectContainer Update declarations for all functions/methods that accept printf-style 2011-09-20 21:44:10 +00:00
ObjectFile <rdar://problem/10338439> 2011-11-13 04:15:56 +00:00
OperatingSystem/Darwin-Kernel build: Add the Darwin-Kernel Makefile. 2011-10-31 23:38:34 +00:00
Platform Added a new class to Process.h: ProcessAttachInfo. This class contains enough 2011-11-15 03:53:30 +00:00
Process Made the darwin host layer properly reap any child processes that it spawns. 2011-11-16 05:37:56 +00:00
SymbolFile <rdar://problem/10338439> 2011-11-13 04:15:56 +00:00
SymbolVendor/MacOSX
UnwindAssembly Fix verbose logging of unwinders. 2011-09-29 22:34:41 +00:00
Makefile build: Build in the Darwin-Kernel OperatingSystem plugin. 2011-10-31 22:51:11 +00:00