diff options
author | Greg Clayton <gclayton@apple.com> | 2010-10-19 03:25:40 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2010-10-19 03:25:40 +0000 |
commit | 3fcbed6bda344dbf16dd0db8930b28d95bc4b4b4 (patch) | |
tree | 13e028c6e8f9439c1edb618d74f297c4068c53d6 /clang/test/Coverage/html-diagnostics.c | |
parent | 392f084f46f9b759f9aca3d429f681cb6b32f2e0 (diff) | |
download | bcm5719-llvm-3fcbed6bda344dbf16dd0db8930b28d95bc4b4b4.tar.gz bcm5719-llvm-3fcbed6bda344dbf16dd0db8930b28d95bc4b4b4.zip |
Stop the driver from handling SIGPIPE in case we communicate with stale
sockets so the driver doesn't just crash.
Added support for connecting to named sockets (unix IPC sockets) in
ConnectionFileDescriptor.
Modified the Host::LaunchInNewTerminal() for MacOSX to return the process
ID of the inferior process instead of the process ID of the Terminal.app. This
was done by modifying the "darwin-debug" executable to connect to lldb through
a named unix socket which is passed down as an argument. This allows a quick
handshake between "lldb" and "darwin-debug" so we can get the process ID
of the inferior and then attach by process ID and avoid attaching to the
inferior by process name since there could be more than one process with
that name. This still has possible race conditions, those will be fixed
in the near future. This fixes the SIGPIPE issues that were sometimes being
seen when task_for_pid was failing.
llvm-svn: 116792
Diffstat (limited to 'clang/test/Coverage/html-diagnostics.c')
0 files changed, 0 insertions, 0 deletions