De-duplicate Unix & Windows CallBacksToRun
authorYaron Keren <yaron.keren@gmail.com>
Wed, 22 Jul 2015 19:01:14 +0000 (19:01 +0000)
committerYaron Keren <yaron.keren@gmail.com>
Wed, 22 Jul 2015 19:01:14 +0000 (19:01 +0000)
commit1d5c214e8467074ffb2bcbffde2af49698265c00
tree85dcbcb0749d08fd48299eebc3de0810106ff423
parentdc719f5fdf6efc20d74d500178c4e639e2002f53
De-duplicate Unix & Windows CallBacksToRun

Move CallBacksToRun into the common Signals.cpp, create RunCallBacksToRun()
and use these in both Unix/Signals.inc and Windows/Signals.inc.

Lots of potential code to be merged here.

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