Factor out the handler work from SignalHandler into a helper function,
authorDan Gohman <gohman@apple.com>
Thu, 27 May 2010 23:11:55 +0000 (23:11 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 27 May 2010 23:11:55 +0000 (23:11 +0000)
commit39f76bb6c8d6e7edb77805f770318ebd1727d0aa
treee6ec5787c661d84a78540c2de23417ebeffd5151
parent84f60b7359e1aa90794bb19de2bbf4d25dc2f01d
Factor out the handler work from SignalHandler into a helper function,
and change llvm::sys::RunInterruptHandlers to call that function directly
instead of calling SignalHandler, because the rest of SignalHandler
invokes side effects which aren't appropriate, including raising the
signal.

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