OSDN Git Service

When a crash signal is delivered do two things: remove all of our
authorChris Lattner <sabre@nondot.org>
Sat, 7 Mar 2009 08:15:47 +0000 (08:15 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 7 Mar 2009 08:15:47 +0000 (08:15 +0000)
commit922a881f32df95170cb2c28e1a5ee0053d6f0f90
tree0b4ff524f939de4ed296be1b615a0f85177ec03d
parentb9c6c9bfe410bbea357503872ce662d6838026ce
When a crash signal is delivered do two things: remove all of our
signal handlers to prevent reentrance on unrelated things (a sigabort
where the handle bus errors) also, clear the signal mask so that the
signal doesn't infinitely reissue.  This fixes rdar://6654827 -
Crash causes clang to loop

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66330 91177308-0d34-0410-b5e6-96231b3b80d8
lib/System/Unix/Signals.inc