aboutsummaryrefslogtreecommitdiff
path: root/lld/utils/linker-script-test/linker-script-test.cpp
diff options
context:
space:
mode:
authorHafiz Abid Qadeer <hafiz_abid@mentor.com>2015-02-03 11:20:00 +0000
committerHafiz Abid Qadeer <hafiz_abid@mentor.com>2015-02-03 11:20:00 +0000
commit9a0d572750e17a6791b87f2e0c186dd743066a8e (patch)
treea677dd9aa17b65a7c36d6f44227d3a69320a2b3b /lld/utils/linker-script-test/linker-script-test.cpp
parent6b4499a393ac29334a0897338bb33bee9f78cd00 (diff)
downloadllvm-9a0d572750e17a6791b87f2e0c186dd743066a8e.zip
llvm-9a0d572750e17a6791b87f2e0c186dd743066a8e.tar.gz
llvm-9a0d572750e17a6791b87f2e0c186dd743066a8e.tar.bz2
Restore the signal handler for Windows as it is not presistent there.
On windows, signal handler is reset to default once a signal is received. This causes doing ctrl-c twice on console (or pressing suspend button twice in eclipse ide which uses SIGINT to stop the debuggee) to crash lldb-mi on windows. Although there is very tiny window (after signal handler is called and before we restore the handler) where default handler will be in place. But this is hardly a problem in practice as IDEs generally disable their suspend button once it has been presses. llvm-svn: 227964
Diffstat (limited to 'lld/utils/linker-script-test/linker-script-test.cpp')
0 files changed, 0 insertions, 0 deletions