hanchenye-llvm-project/lldb/source/Core
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
..
Address.cpp Moved lldb::user_id_t values to be 64 bit. This was going to be needed for 2011-10-19 18:09:39 +00:00
AddressRange.cpp Update declarations for all functions/methods that accept printf-style 2011-09-20 21:44:10 +00:00
AddressResolver.cpp
AddressResolverFileLine.cpp
AddressResolverName.cpp Removed namespace qualification from symbol queries. 2011-10-13 16:49:47 +00:00
ArchSpec.cpp Updated LLVM/Clang to pick up a fix for imports of 2011-11-04 22:46:46 +00:00
Baton.cpp
Broadcaster.cpp Cleaned up the the code that figures out the inlined stack frames given a 2011-10-01 00:45:15 +00:00
Communication.cpp Fixed an issue where even if the communication object had Clear() called on 2011-08-19 23:28:37 +00:00
Connection.cpp
ConnectionFileDescriptor.cpp
ConnectionMachPort.cpp
ConnectionSharedMemory.cpp
ConstString.cpp Fixed up the comments in the headerdoc to match the current implementation 2011-09-12 03:55:58 +00:00
DataBufferHeap.cpp
DataBufferMemoryMap.cpp
DataEncoder.cpp Forgot to write out the NULL terminator when putting C string value into 2011-09-01 18:13:54 +00:00
DataExtractor.cpp Speed improvements for ULEB128 reading from James McIlree. 2011-11-14 22:56:58 +00:00
DataVisualization.cpp Renaming a bulk of method calls from Get() to something more descriptive 2011-09-09 23:33:14 +00:00
Debugger.cpp Made the darwin host layer properly reap any child processes that it spawns. 2011-11-16 05:37:56 +00:00
Disassembler.cpp Added support for the new ".apple_objc" accelerator tables. These tables are 2011-10-27 17:55:14 +00:00
DynamicLoader.cpp
EmulateInstruction.cpp
Error.cpp
Event.cpp
FileLineResolver.cpp Added the ability to restrict breakpoints by function name, function regexp, selector 2011-09-23 00:54:11 +00:00
FileSpecList.cpp Added the ability to restrict breakpoints by function name, function regexp, selector 2011-09-23 00:54:11 +00:00
FormatClasses.cpp Fixed the Xcode project building of LLVM to be a bit more user friendly: 2011-11-04 03:34:56 +00:00
FormatManager.cpp Fixed the Xcode project building of LLVM to be a bit more user friendly: 2011-11-04 03:34:56 +00:00
History.cpp
InputReader.cpp While tracking down memory consumption issue a few things were needed: the 2011-08-10 02:10:13 +00:00
InputReaderEZ.cpp While tracking down memory consumption issue a few things were needed: the 2011-08-10 02:10:13 +00:00
InputReaderStack.cpp
Language.cpp
Listener.cpp Cleaned up the the code that figures out the inlined stack frames given a 2011-10-01 00:45:15 +00:00
Log.cpp Update declarations for all functions/methods that accept printf-style 2011-09-20 21:44:10 +00:00
Makefile
Mangled.cpp
Module.cpp We can't have the global vector of modules be a static object, or it might get destroyed 2011-10-31 23:47:10 +00:00
ModuleChild.cpp
ModuleList.cpp Cleaned up many error codes. For any who is filling in error strings into 2011-10-26 00:56:27 +00:00
Opcode.cpp Added more functionality to the public API to allow for better 2011-09-26 07:11:27 +00:00
PluginManager.cpp Added a new plug-in type: lldb_private::OperatingSystem. The operating system 2011-08-22 02:49:39 +00:00
RegisterValue.cpp Cleaned up many error codes. For any who is filling in error strings into 2011-10-26 00:56:27 +00:00
RegularExpression.cpp warnings: Fix a bunch of -Wreorder problems. 2011-10-31 22:50:49 +00:00
Scalar.cpp Cleaned up many error codes. For any who is filling in error strings into 2011-10-26 00:56:27 +00:00
SearchFilter.cpp Added the ability for the target to specify Modules that will not be searched 2011-10-28 23:14:11 +00:00
Section.cpp Moved lldb::user_id_t values to be 64 bit. This was going to be needed for 2011-10-19 18:09:39 +00:00
SourceManager.cpp Added ClangNamespaceDecl * parameters to several 2011-10-12 02:08:07 +00:00
State.cpp
Stream.cpp
StreamAsynchronousIO.cpp
StreamFile.cpp
StreamString.cpp
StringList.cpp While tracking down memory consumption issue a few things were needed: the 2011-08-10 02:10:13 +00:00
Timer.cpp
UUID.cpp
UserID.cpp Moved lldb::user_id_t values to be 64 bit. This was going to be needed for 2011-10-19 18:09:39 +00:00
UserSettingsController.cpp Cleaned up many error codes. For any who is filling in error strings into 2011-10-26 00:56:27 +00:00
VMRange.cpp
Value.cpp Converted the lldb_private::Process over to use the intrusive 2011-09-22 04:58:26 +00:00
ValueObject.cpp warnings: Fix a bunch of -Wreorder problems. 2011-10-31 22:50:49 +00:00
ValueObjectChild.cpp Cleaned up many error codes. For any who is filling in error strings into 2011-10-26 00:56:27 +00:00
ValueObjectConstResult.cpp Redesign of the interaction between Python and frozen objects: 2011-09-06 19:20:51 +00:00
ValueObjectConstResultChild.cpp Redesign of the interaction between Python and frozen objects: 2011-09-06 19:20:51 +00:00
ValueObjectConstResultImpl.cpp Redesign of the interaction between Python and frozen objects: 2011-09-06 19:20:51 +00:00
ValueObjectDynamicValue.cpp Converted the lldb_private::Process over to use the intrusive 2011-09-22 04:58:26 +00:00
ValueObjectList.cpp
ValueObjectMemory.cpp Converted the lldb_private::Process over to use the intrusive 2011-09-22 04:58:26 +00:00
ValueObjectRegister.cpp Fixed register value objects to be able to return their values as unsigned 2011-08-16 03:49:01 +00:00
ValueObjectSyntheticFilter.cpp - Now using ${var} as the summary for an aggregate type will produce "name-of-type @ object-location" instead of giving an error 2011-08-19 21:13:46 +00:00
ValueObjectVariable.cpp ValueObjectVariable::GetClangAST should check that it has a valid Type before accessing it. 2011-10-31 23:06:45 +00:00